pub struct ReservationRelease<'a, 'r> { /* private fields */ }Expand description
Builder returned by Namespace::reservation_release.
Implementations§
Source§impl<'a, 'r> ReservationRelease<'a, 'r>
impl<'a, 'r> ReservationRelease<'a, 'r>
Sourcepub fn rtype(self, rtype: ReservationType) -> Self
pub fn rtype(self, rtype: ReservationType) -> Self
Reservation type being released (must match the held type).
Sourcepub fn action(self, action: ReservationReleaseAction) -> Self
pub fn action(self, action: ReservationReleaseAction) -> Self
Release action.
Sourcepub fn ignore_existing_key(self) -> Self
pub fn ignore_existing_key(self) -> Self
Ignore Existing Key.
pub fn timeout_ms(self, ms: u32) -> Self
pub fn execute(self) -> Result<u32>
Auto Trait Implementations§
impl<'a, 'r> Freeze for ReservationRelease<'a, 'r>
impl<'a, 'r> RefUnwindSafe for ReservationRelease<'a, 'r>
impl<'a, 'r> !Send for ReservationRelease<'a, 'r>
impl<'a, 'r> !Sync for ReservationRelease<'a, 'r>
impl<'a, 'r> Unpin for ReservationRelease<'a, 'r>
impl<'a, 'r> UnsafeUnpin for ReservationRelease<'a, 'r>
impl<'a, 'r> UnwindSafe for ReservationRelease<'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