Struct hsmtool::commands::BasicResult
source · pub struct BasicResult { /* private fields */ }
Implementations§
source§impl BasicResult
impl BasicResult
pub fn from_error(e: &Error) -> Box<dyn Annotate>
Trait Implementations§
source§impl Annotate for &BasicResult
impl Annotate for &BasicResult
fn format(&self, variant: Option<&str>, field: &MemberId<'_>) -> Option<Format>
fn comment(&self, variant: Option<&str>, field: &MemberId<'_>) -> Option<String>
fn as_annotate(&self) -> Option<&dyn Annotate>
fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_> ) -> Result<Document, Error>
source§impl Annotate for BasicResult
impl Annotate for BasicResult
fn format(&self, _variant: Option<&str>, field: &MemberId<'_>) -> Option<Format>
fn comment( &self, _variant: Option<&str>, field: &MemberId<'_> ) -> Option<String>
fn as_annotate(&self) -> Option<&dyn Annotate>
fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_> ) -> Result<Document, Error>
source§impl Debug for BasicResult
impl Debug for BasicResult
source§impl Default for BasicResult
impl Default for BasicResult
Auto Trait Implementations§
impl RefUnwindSafe for BasicResult
impl Send for BasicResult
impl Sync for BasicResult
impl Unpin for BasicResult
impl UnwindSafe for BasicResult
Blanket Implementations§
§impl<T> Annotate for Twhere
T: Serialize + ?Sized,
impl<T> Annotate for Twhere T: Serialize + ?Sized,
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_> ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_> ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_> ) -> Result<Document, Error>
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