pub enum When {
Polling,
SendingMessage(Option<SocketAddr>, Id, Token),
None,
}Expand description
The context that an error occurred in
Variants
Polling
We were polling for a message when the error occurred
SendingMessage(Option<SocketAddr>, Id, Token)
We were sending a message
None
Not sure that When is valuable anymore
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for When
impl Send for When
impl Sync for When
impl Unpin for When
impl UnwindSafe for When
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more