pub struct ReservationCapabilities {
pub write_exclusive: bool,
pub exclusive_access: bool,
pub write_exclusive_registrants_only: bool,
pub exclusive_access_registrants_only: bool,
pub write_exclusive_all_registrants: bool,
pub exclusive_access_all_registrants: bool,
pub persist_through_power_loss: bool,
}
Expand description
Capabilities returned by PersistentReservation::capabilities
.
These bits correspond to values in ReservationType
.
Fields§
§write_exclusive: bool
§exclusive_access: bool
§write_exclusive_registrants_only: bool
§exclusive_access_registrants_only: bool
§write_exclusive_all_registrants: bool
§exclusive_access_all_registrants: bool
§persist_through_power_loss: bool
Auto Trait Implementations§
impl Freeze for ReservationCapabilities
impl RefUnwindSafe for ReservationCapabilities
impl Send for ReservationCapabilities
impl Sync for ReservationCapabilities
impl Unpin for ReservationCapabilities
impl UnwindSafe for ReservationCapabilities
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