#[non_exhaustive]pub enum Delivery {
#[non_exhaustive] Delivered {
response: Response,
},
#[non_exhaustive] Missed {
miss: Miss,
moved: Option<Box<Moved>>,
},
}Expand description
What deliver answers for a send it took.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
#[non_exhaustive]Delivered
The server answered a 2xx status. The chart is not moved.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
#[non_exhaustive]Missed
The send missed, and the sending session took error.communication
for it, carrying the send’s id, as State::report_send_failed
reports it.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
moved: Option<Box<Moved>>The report: the new state and the effects it produced, boxed. None
when the sending session takes no report, having stopped or
been halted by a spent round budget since it made the send, and
for a send with no target the driver already raised the miss for
(Options::target_required).
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Delivery
impl !UnwindSafe for Delivery
impl Forget for Delivery
impl Freeze for Delivery
impl Move for Delivery
impl Send for Delivery
impl Sync for Delivery
impl Unpin for Delivery
impl UnsafeUnpin for Delivery
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more