pub enum ShmError {
SyscallError(Errno, &'static CStr),
SegmentNotInitialized,
SegmentMalformed,
CausalityBreach,
SegmentVersionNotSupported,
}
Expand description
Error condition returned by all low-level ClockBound APIs.
Variants§
SyscallError(Errno, &'static CStr)
A system call failed. Variant includes the Errno struct with error details, and an indication on the origin of the system call that error’ed.
SegmentNotInitialized
The shared memory segment is not initialized.
SegmentMalformed
The shared memory segment is initialized but malformed.
CausalityBreach
Failed causality check when comparing timestamps.
SegmentVersionNotSupported
The shared memory segment version is not supported.
Trait Implementations§
Source§impl Ord for ShmError
impl Ord for ShmError
Source§impl PartialOrd for ShmError
impl PartialOrd for ShmError
impl Copy for ShmError
impl Eq for ShmError
impl StructuralPartialEq for ShmError
Auto Trait Implementations§
impl Freeze for ShmError
impl RefUnwindSafe for ShmError
impl Send for ShmError
impl Sync for ShmError
impl Unpin for ShmError
impl UnwindSafe for ShmError
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