pub struct LeaseOwner(/* private fields */);Expand description
Typed identifier for the worker/executor that owns a lease.
Implementations§
Trait Implementations§
Source§impl Clone for LeaseOwner
impl Clone for LeaseOwner
Source§fn clone(&self) -> LeaseOwner
fn clone(&self) -> LeaseOwner
Returns a duplicate 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 moreSource§impl Debug for LeaseOwner
impl Debug for LeaseOwner
Source§impl Display for LeaseOwner
impl Display for LeaseOwner
Source§impl From<&str> for LeaseOwner
impl From<&str> for LeaseOwner
Source§impl From<String> for LeaseOwner
impl From<String> for LeaseOwner
Source§impl Hash for LeaseOwner
impl Hash for LeaseOwner
Source§impl Ord for LeaseOwner
impl Ord for LeaseOwner
Source§fn cmp(&self, other: &LeaseOwner) -> Ordering
fn cmp(&self, other: &LeaseOwner) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LeaseOwner
impl PartialEq for LeaseOwner
Source§impl PartialOrd for LeaseOwner
impl PartialOrd for LeaseOwner
impl Eq for LeaseOwner
impl StructuralPartialEq for LeaseOwner
Auto Trait Implementations§
impl Freeze for LeaseOwner
impl RefUnwindSafe for LeaseOwner
impl Send for LeaseOwner
impl Sync for LeaseOwner
impl Unpin for LeaseOwner
impl UnsafeUnpin for LeaseOwner
impl UnwindSafe for LeaseOwner
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