pub enum RecvError {
Closed,
Lagged,
MaxSizeExceeded(usize),
RemoteReceive(RecvError),
RemoteConnect(ConnectError),
RemoteListen(ListenerError),
InvalidIndex(usize),
}👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
Expand description
An error occurred during receiving an event or initial value of an observed collection.
Variants§
Closed
👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
The observed collection was dropped before done was called on it.
Lagged
👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
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)
👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
The maximum size of the mirrored collection has been reached.
RemoteReceive(RecvError)
👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
Receiving from a remote endpoint failed.
RemoteConnect(ConnectError)
👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
Connecting a sent channel failed.
RemoteListen(ListenerError)
👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
Listening for a connection from a received channel failed.
InvalidIndex(usize)
👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
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