[][src]Struct didkit::DID_METHODS

pub struct DID_METHODS { /* fields omitted */ }

Methods from Deref<Target = DIDMethods<'static>>

pub fn get(&self, method_name: &str) -> Option<&&'a (dyn DIDMethod + 'a)>[src]

Get a DID method from the set.

pub fn to_resolver(&self) -> &dyn DIDResolver[src]

pub fn get_method(
    did: &str
) -> Result<&&'a (dyn DIDMethod + 'a), &'static str>

Get DID method to handle a given DID

Trait Implementations

impl Deref for DID_METHODS[src]

type Target = DIDMethods<'static>

The resulting type after dereferencing.

impl LazyStatic for DID_METHODS[src]

Auto Trait Implementations

impl RefUnwindSafe for DID_METHODS[src]

impl Send for DID_METHODS[src]

impl Sync for DID_METHODS[src]

impl Unpin for DID_METHODS[src]

impl UnwindSafe for DID_METHODS[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<'a, T> Desc<'a, T> for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T

type Owned = T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,