Enum remoc::robj::lazy::FetchError
source · pub enum FetchError {
Dropped,
RemoteReceive(RecvError),
RemoteConnect(ConnectError),
RemoteListen(ListenerError),
}
Available on crate feature
robj
only.Expand description
An error occurred during fetching a lazily transmitted value.
Variants§
Dropped
Provider dropped before getting the value.
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.
Trait Implementations§
source§impl Clone for FetchError
impl Clone for FetchError
source§fn clone(&self) -> FetchError
fn clone(&self) -> FetchError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FetchError
impl Debug for FetchError
source§impl<'de> Deserialize<'de> for FetchError
impl<'de> Deserialize<'de> for FetchError
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 Display for FetchError
impl Display for FetchError
source§impl Error for FetchError
impl Error for FetchError
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()
source§impl From<RecvError> for FetchError
impl From<RecvError> for FetchError
Auto Trait Implementations§
impl Freeze for FetchError
impl !RefUnwindSafe for FetchError
impl Send for FetchError
impl Sync for FetchError
impl Unpin for FetchError
impl !UnwindSafe for FetchError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)