For the user it is possible to send an uninitialized sample, this must be prevented by the API otherwise it will induce undefined behavior in another application.
Example
// bad
let sample = publisher.loan_uninit()?;
sample.send()?; // must be a compile failure
// good
let mut sample = publisher.loan_uninit()?;
sample.write_payload(123);
let sample = unsafe { sample.assume_init() };
sample.send()?;
Required Information
This is an API bug.
For the user it is possible to send an uninitialized sample, this must be prevented by the API otherwise it will induce undefined behavior in another application.
Example