pub enum ShmValidation {
Missing,
Valid {
actual_size: usize,
},
}Expand description
Result of physically validating an existing POSIX SHM object.
This check is deliberately below ring semantics: it verifies that the named object satisfies the access policy and is large enough for the requested mapping, but it does not inspect an owning data structure’s magic, version, or geometry header.
Variants§
Missing
No object currently exists under the requested name.
Valid
The object exists and can safely back at least the requested mapping.
Trait Implementations§
Source§impl Clone for ShmValidation
impl Clone for ShmValidation
impl Copy for ShmValidation
Source§impl Debug for ShmValidation
impl Debug for ShmValidation
impl Eq for ShmValidation
Source§impl PartialEq for ShmValidation
impl PartialEq for ShmValidation
impl StructuralPartialEq for ShmValidation
Auto Trait Implementations§
impl Freeze for ShmValidation
impl RefUnwindSafe for ShmValidation
impl Send for ShmValidation
impl Sync for ShmValidation
impl Unpin for ShmValidation
impl UnsafeUnpin for ShmValidation
impl UnwindSafe for ShmValidation
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