Enum yaque::TryRecvError
source · pub enum TryRecvError {
Io(Error),
QueueEmpty,
}
Expand description
An error that occurs when trying to receive from an empty queue.
Variants§
Io(Error)
An underlying IO error occurred.
QueueEmpty
The queue is empty and there is nothing to be received right now.
Implementations§
Trait Implementations§
source§impl Debug for TryRecvError
impl Debug for TryRecvError
source§impl From<Error> for TryRecvError
impl From<Error> for TryRecvError
source§fn from(error: Error) -> TryRecvError
fn from(error: Error) -> TryRecvError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for TryRecvError
impl Send for TryRecvError
impl Sync for TryRecvError
impl Unpin for TryRecvError
impl !UnwindSafe for TryRecvError
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