Struct calloop::InsertError
source · pub struct InsertError<E> {
pub source: E,
pub error: Error,
}
Expand description
An error generated when trying to insert an event source
Fields
source: E
The source that could not be inserted
error: Error
The generated error
Trait Implementations
sourceimpl<E> From<InsertError<E>> for Error
impl<E> From<InsertError<E>> for Error
sourcefn from(e: InsertError<E>) -> Error
fn from(e: InsertError<E>) -> Error
Converts to this type from the input type.
Auto Trait Implementations
impl<E> !RefUnwindSafe for InsertError<E>
impl<E> Send for InsertError<E>where
E: Send,
impl<E> Sync for InsertError<E>where
E: Sync,
impl<E> Unpin for InsertError<E>where
E: Unpin,
impl<E> !UnwindSafe for InsertError<E>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more