pub struct WeakPathHandle { /* private fields */ }Expand description
Weak handle for a Path that does not keep the connection alive.
As long as a WeakPathHandle for a path exists, that path’s final stats will not be dropped even if
the path was abandoned.
The WeakPathHandle can be upgraded to a Path as long as its Connection has not been dropped.
Implementations§
Trait Implementations§
Source§impl Clone for WeakPathHandle
impl Clone for WeakPathHandle
Source§fn clone(&self) -> WeakPathHandle
fn clone(&self) -> WeakPathHandle
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 moreSource§impl Debug for WeakPathHandle
impl Debug for WeakPathHandle
Source§impl Drop for WeakPathHandle
impl Drop for WeakPathHandle
impl Eq for WeakPathHandle
Auto Trait Implementations§
impl Freeze for WeakPathHandle
impl RefUnwindSafe for WeakPathHandle
impl Send for WeakPathHandle
impl Sync for WeakPathHandle
impl Unpin for WeakPathHandle
impl UnsafeUnpin for WeakPathHandle
impl UnwindSafe for WeakPathHandle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.