pub struct SessionLease(/* private fields */);Expand description
Lease granted by the daemon for one accepted session.
Implementations§
Trait Implementations§
Source§impl Clone for SessionLease
impl Clone for SessionLease
Source§fn clone(&self) -> SessionLease
fn clone(&self) -> SessionLease
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SessionLease
Source§impl Debug for SessionLease
impl Debug for SessionLease
Source§impl Default for SessionLease
impl Default for SessionLease
Source§impl<'de> Deserialize<'de> for SessionLease
impl<'de> Deserialize<'de> for SessionLease
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SessionLease
Source§impl PartialEq for SessionLease
impl PartialEq for SessionLease
Source§impl Serialize for SessionLease
impl Serialize for SessionLease
impl StructuralPartialEq for SessionLease
Auto Trait Implementations§
impl Freeze for SessionLease
impl RefUnwindSafe for SessionLease
impl Send for SessionLease
impl Sync for SessionLease
impl Unpin for SessionLease
impl UnsafeUnpin for SessionLease
impl UnwindSafe for SessionLease
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