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)>
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