pub struct DynamicKeyRetirement {
pub released: bool,
pub outstanding_reservations: usize,
pub outstanding_bytes: usize,
}Expand description
The outcome of retiring a dynamic key.
Fields§
§released: boolWhether the registration was released and the name is free again.
A released key has no outstanding work. When the deadline elapses first, the registration stays held so the name cannot be reused while reservations from this generation are still live.
outstanding_reservations: usizeReservations still held on the key’s budget when the caller stopped waiting.
outstanding_bytes: usizeBytes still reserved on the key’s budget when the caller stopped waiting.
Trait Implementations§
Source§impl Clone for DynamicKeyRetirement
impl Clone for DynamicKeyRetirement
impl Copy for DynamicKeyRetirement
Source§impl Debug for DynamicKeyRetirement
impl Debug for DynamicKeyRetirement
impl Eq for DynamicKeyRetirement
Source§impl PartialEq for DynamicKeyRetirement
impl PartialEq for DynamicKeyRetirement
impl StructuralPartialEq for DynamicKeyRetirement
Auto Trait Implementations§
impl Freeze for DynamicKeyRetirement
impl RefUnwindSafe for DynamicKeyRetirement
impl Send for DynamicKeyRetirement
impl Sync for DynamicKeyRetirement
impl Unpin for DynamicKeyRetirement
impl UnsafeUnpin for DynamicKeyRetirement
impl UnwindSafe for DynamicKeyRetirement
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