Enum ipmpsc::Error [−][src]
pub enum Error { AlreadyReceived, ZeroSizedMessage, MessageTooLarge, TooManySenders, IncompatibleRingBuffer, Runtime(String), Io(Error), Bincode(Error), }
Expand description
ipmpsc
-specific error type
Variants
Error indicating that the caller has attempted to read more than one message from a given
ZeroCopyContext
.
Error indicating that the caller attempted to send a message of zero serialized size, which is not supported.
Error indicating that the caller attempted to send a message of serialized size greater than the ring buffer capacity.
Error indicating the the maximum number of simultaneous senders has been exceeded.
Error indicating the ring buffer was initialized by an incompatible version of ipmpsc
and/or by a process
with a different word size (32-bit vs. 64-bit)
Runtime(String)
Implementation-specific runtime failure (e.g. a libc mutex error).
Io(Error)
Implementation-specific runtime I/O failure (e.g. filesystem error).
Bincode(Error)
Wrapped bincode error encountered during (de)serialization.
Trait Implementations
impl Error for Error
[src]
impl Error for Error
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]use the Display impl or to_string()
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,