pub struct LeaseInfo {
pub resource_type: ResourceType,
pub lease_id: u64,
pub node_addr: String,
pub bytes_held: u64,
}Expand description
Information about a single active lease tracked in the resource context.
Fields§
§resource_type: ResourceTypeKind of resource leased.
lease_id: u64Unique lease identifier.
node_addr: StringNode address (e.g. "10.10.0.11").
bytes_held: u64Size of the leased region in bytes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LeaseInfo
impl RefUnwindSafe for LeaseInfo
impl Send for LeaseInfo
impl Sync for LeaseInfo
impl Unpin for LeaseInfo
impl UnwindSafe for LeaseInfo
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