Enum yaque::TrySendError
source · pub enum TrySendError<T> {
Io(Error),
QueueFull {
item: T,
base: PathBuf,
},
}
Expand description
An error that occurs when trying to send into a queue.
Variants§
Io(Error)
An underlying IO error occurred.
QueueFull
Fields
§
item: T
The thing that we were trying to send.
The queue has reached its maximum capacity and is not open to be sent.
Implementations§
Trait Implementations§
source§impl<T: Debug> Debug for TrySendError<T>
impl<T: Debug> Debug for TrySendError<T>
source§impl<T> Display for TrySendError<T>
impl<T> Display for TrySendError<T>
source§impl<T> From<Error> for TrySendError<T>
impl<T> From<Error> for TrySendError<T>
source§fn from(error: Error) -> TrySendError<T>
fn from(error: Error) -> TrySendError<T>
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> !RefUnwindSafe for TrySendError<T>
impl<T> Send for TrySendError<T>where T: Send,
impl<T> Sync for TrySendError<T>where T: Sync,
impl<T> Unpin for TrySendError<T>where T: Unpin,
impl<T> !UnwindSafe for TrySendError<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