Enum bastion::errors::ReceiveError [−][src]
pub enum ReceiveError {
Timeout(Duration),
Other,
}
Expand description
These errors happen
when try_recv
or try_recv_timeout
are invoked
Variants
Timeout(Duration)
Tuple Fields
0: Duration
We didn’t receive a message on time
Other
Generic error. Not used yet
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ReceiveError
impl Send for ReceiveError
impl Sync for ReceiveError
impl Unpin for ReceiveError
impl UnwindSafe for ReceiveError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more