pub struct ReservationReport {
pub generation: u32,
pub reservation_type: Option<ReservationType>,
pub persist_through_power_loss: bool,
pub controllers: Vec<RegisteredController>,
}
Expand description
The report returned by PersistentReservation::report
.
Fields§
§generation: u32
A counter that increases every time a registration changes.
reservation_type: Option<ReservationType>
The current reservation type for the disk.
persist_through_power_loss: bool
The persist through power loss state.
controllers: Vec<RegisteredController>
The registered controllers.
Trait Implementations§
Source§impl Clone for ReservationReport
impl Clone for ReservationReport
Source§fn clone(&self) -> ReservationReport
fn clone(&self) -> ReservationReport
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 moreAuto Trait Implementations§
impl Freeze for ReservationReport
impl RefUnwindSafe for ReservationReport
impl Send for ReservationReport
impl Sync for ReservationReport
impl Unpin for ReservationReport
impl UnwindSafe for ReservationReport
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