Enum magnetic::TryPopError
source · [−]pub enum TryPopError {
Empty,
Disconnected,
}
Expand description
Possible errors for Consumer::try_pop
Variants
Empty
Queue was empty
Disconnected
Producer was destroyed
Trait Implementations
sourceimpl Debug for TryPopError
impl Debug for TryPopError
sourceimpl PartialEq<TryPopError> for TryPopError
impl PartialEq<TryPopError> for TryPopError
impl StructuralPartialEq for TryPopError
Auto Trait Implementations
impl RefUnwindSafe for TryPopError
impl Send for TryPopError
impl Sync for TryPopError
impl Unpin for TryPopError
impl UnwindSafe for TryPopError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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