pub enum ReservationType {
WriteExclusive,
ExclusiveAccess,
WriteExclusiveRegistrantsOnly,
ExclusiveAccessRegistrantsOnly,
WriteExclusiveAllRegistrants,
ExclusiveAccessAllRegistrants,
}
Expand description
The reservation type.
These are defined in the SCSI spec.
Variants§
WriteExclusive
ExclusiveAccess
WriteExclusiveRegistrantsOnly
ExclusiveAccessRegistrantsOnly
WriteExclusiveAllRegistrants
ExclusiveAccessAllRegistrants
Trait Implementations§
Source§impl Clone for ReservationType
impl Clone for ReservationType
Source§fn clone(&self) -> ReservationType
fn clone(&self) -> ReservationType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ReservationType
impl Debug for ReservationType
Source§impl Inspect for ReservationType
impl Inspect for ReservationType
Source§impl PartialEq for ReservationType
impl PartialEq for ReservationType
impl Copy for ReservationType
impl Eq for ReservationType
impl StructuralPartialEq for ReservationType
Auto Trait Implementations§
impl Freeze for ReservationType
impl RefUnwindSafe for ReservationType
impl Send for ReservationType
impl Sync for ReservationType
impl Unpin for ReservationType
impl UnwindSafe for ReservationType
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