pub enum RecvError {
Closed,
Lagged,
MaxSizeExceeded(usize),
RemoteReceive(RecvError),
RemoteConnect(ConnectError),
RemoteListen(ListenerError),
InvalidIndex(usize),
}
Available on crate feature
robs
only.Expand description
An error occurred during receiving an event or initial value of an observed collection.
Variantsยง
Closed
The observed collection was dropped before done
was called on it.
Lagged
The receiver lagged behind, so that the the send buffer size has reached its limit.
Try increasing the send buffer specified when calling subscribe
on the
observed collection.
MaxSizeExceeded(usize)
The maximum size of the mirrored collection has been reached.
RemoteReceive(RecvError)
Receiving from a remote endpoint failed.
RemoteConnect(ConnectError)
Connecting a sent channel failed.
RemoteListen(ListenerError)
Listening for a connection from a received channel failed.
InvalidIndex(usize)
Invalid index.
Trait Implementationsยง
Sourceยงimpl<'de> Deserialize<'de> for RecvError
impl<'de> Deserialize<'de> for RecvError
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Sourceยงimpl Error for RecvError
impl Error for RecvError
1.30.0 ยท Sourceยงfn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 ยท Sourceยงfn description(&self) -> &str
fn description(&self) -> &str
๐Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementationsยง
impl Freeze for RecvError
impl !RefUnwindSafe for RecvError
impl Send for RecvError
impl Sync for RecvError
impl Unpin for RecvError
impl !UnwindSafe for RecvError
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