pub struct ReservationAcquire<'a, 'r> { /* private fields */ }Expand description
Builder returned by Namespace::reservation_acquire.
Implementations§
Source§impl<'a, 'r> ReservationAcquire<'a, 'r>
impl<'a, 'r> ReservationAcquire<'a, 'r>
Sourcepub fn new_key(self, nrkey: u64) -> Self
pub fn new_key(self, nrkey: u64) -> Self
New Reservation Key — used only when action is
ReservationAcquireAction::Preempt or PreemptAndAbort.
Sourcepub fn rtype(self, rtype: ReservationType) -> Self
pub fn rtype(self, rtype: ReservationType) -> Self
Reservation type to acquire.
Sourcepub fn action(self, action: ReservationAcquireAction) -> Self
pub fn action(self, action: ReservationAcquireAction) -> Self
Which acquire action to perform.
Sourcepub fn ignore_existing_key(self) -> Self
pub fn ignore_existing_key(self) -> Self
Ignore Existing Key — bypass the host-registered key check.
Sourcepub fn timeout_ms(self, ms: u32) -> Self
pub fn timeout_ms(self, ms: u32) -> Self
Per-command timeout in milliseconds.
Auto Trait Implementations§
impl<'a, 'r> Freeze for ReservationAcquire<'a, 'r>
impl<'a, 'r> RefUnwindSafe for ReservationAcquire<'a, 'r>
impl<'a, 'r> !Send for ReservationAcquire<'a, 'r>
impl<'a, 'r> !Sync for ReservationAcquire<'a, 'r>
impl<'a, 'r> Unpin for ReservationAcquire<'a, 'r>
impl<'a, 'r> UnsafeUnpin for ReservationAcquire<'a, 'r>
impl<'a, 'r> UnwindSafe for ReservationAcquire<'a, 'r>
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