pub struct ConnectionLease { /* private fields */ }Implementations§
Source§impl ConnectionLease
impl ConnectionLease
pub fn endpoint(&self) -> &RemoteEndpoint
pub fn is_connected(&self) -> bool
Trait Implementations§
Source§impl Clone for ConnectionLease
impl Clone for ConnectionLease
Source§fn clone(&self) -> ConnectionLease
fn clone(&self) -> ConnectionLease
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for ConnectionLease
impl !UnwindSafe for ConnectionLease
impl Freeze for ConnectionLease
impl Send for ConnectionLease
impl Sync for ConnectionLease
impl Unpin for ConnectionLease
impl UnsafeUnpin for ConnectionLease
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