pub enum Error<L: Resource, T: Resource> {
ListenerDisconnect(ResourceId, L),
TransportDisconnect(ResourceId, T),
Poll(Error),
}Expand description
Reactor errors
Variants§
ListenerDisconnect(ResourceId, L)
transport {0} got disconnected during poll operation.
TransportDisconnect(ResourceId, T)
transport {0} got disconnected during poll operation.
Poll(Error)
polling multiple reactor has failed. Details: {0:?}
Trait Implementations§
Source§impl<L: Resource, T: Resource> Error for Error<L, T>
impl<L: Resource, T: Resource> Error for Error<L, T>
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<L, T> Freeze for Error<L, T>
impl<L, T> !RefUnwindSafe for Error<L, T>
impl<L, T> Send for Error<L, T>
impl<L, T> Sync for Error<L, T>
impl<L, T> Unpin for Error<L, T>
impl<L, T> !UnwindSafe for Error<L, T>
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