pub struct PostError {
pub error: Error,
pub token: Token,
pub payload: Option<Payload>,
}Expand description
Posting failure with ownership returned only when the payload was not accepted.
Fields§
§error: ErrorThe queue or wake failure.
token: TokenOpaque host routing token preserved from submission.
payload: Option<Payload>Returned payload if rejected; None means accepted despite a wake error, so do not retry.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PostError
impl !Sync for PostError
impl !UnwindSafe for PostError
impl Freeze for PostError
impl Send for PostError
impl Unpin for PostError
impl UnsafeUnpin for PostError
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