pub struct MethodDidWeb { /* private fields */ }Implementations§
Source§impl MethodDidWeb
impl MethodDidWeb
Sourcepub fn new() -> Result<Self, ClientError>
pub fn new() -> Result<Self, ClientError>
Sourcepub fn with_config(config: Config) -> Result<Self, ClientError>
pub fn with_config(config: Config) -> Result<Self, ClientError>
Trait Implementations§
Source§impl Method for MethodDidWeb
impl Method for MethodDidWeb
fn method_name(&self) -> &'static str
fn resolve(&self, did: Did) -> MethodFuture<Result<Document, ResolutionError>>
Auto Trait Implementations§
impl !RefUnwindSafe for MethodDidWeb
impl !UnwindSafe for MethodDidWeb
impl Freeze for MethodDidWeb
impl Send for MethodDidWeb
impl Sync for MethodDidWeb
impl Unpin for MethodDidWeb
impl UnsafeUnpin for MethodDidWeb
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