pub enum QueError {
CorruptionDetected,
InvalidSize,
Uninitialized,
IncorrectCapacity(usize),
ShmemError(ShmemError),
Full,
}
Variants§
CorruptionDetected
`MAGIC`` value was not equal to expected value.
InvalidSize
Invalid amount of memory requested (i64 overflow)
Uninitialized
Attempted to join an uninitialized channel
IncorrectCapacity(usize)
Channel initialized with a different capacity
ShmemError(ShmemError)
Shared Memory Error (e.g. invalid permissions, bad file descriptor, insufficient pre-allocatedpages)
Full
Only used for lossless spsc
Trait Implementations§
Source§impl Error for QueError
impl Error for QueError
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()
Source§impl From<ShmemError> for QueError
impl From<ShmemError> for QueError
Source§fn from(value: ShmemError) -> Self
fn from(value: ShmemError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for QueError
impl RefUnwindSafe for QueError
impl Send for QueError
impl Sync for QueError
impl Unpin for QueError
impl UnwindSafe for QueError
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