Struct rings_core::swarm::WrappedDid
source · pub struct WrappedDid { /* private fields */ }Expand description
WrappedDid is a DID wrapped by Swarm and bound to a Connection, which enables checking whether the WrappedDid is live or not.
Implementations§
Trait Implementations§
source§impl Clone for WrappedDid
impl Clone for WrappedDid
source§fn clone(&self) -> WrappedDid
fn clone(&self) -> WrappedDid
Returns a copy 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 From<WrappedDid> for Did
impl From<WrappedDid> for Did
source§fn from(node: WrappedDid) -> Did
fn from(node: WrappedDid) -> Did
Implements the From trait to allow conversion from WrappedDid to Did.
Auto Trait Implementations§
impl !RefUnwindSafe for WrappedDid
impl Send for WrappedDid
impl Sync for WrappedDid
impl Unpin for WrappedDid
impl !UnwindSafe for WrappedDid
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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