pub enum SendingState {
StillBeingSent(SendingStateHandle),
Result(SendingResult),
}Expand description
Has the message finished being sent? With what SendingResult?
Variants§
StillBeingSent(SendingStateHandle)
The message is still in the process of being sent.
It will finish being sent (or fail) later.
The SendingStateHandle used to get this sending state is given back
to try again later.
Result(SendingResult)
The message is not being sent anymore.
It has either being successfully sent (in the case of SendingResult::Sent)
or its sending has failed (any other SendingResult variant.)
Auto Trait Implementations§
impl Freeze for SendingState
impl !RefUnwindSafe for SendingState
impl Send for SendingState
impl Sync for SendingState
impl Unpin for SendingState
impl !UnwindSafe for SendingState
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