pub struct DiscloseError(pub String);Expand description
Disclosure tooling failure (malformed path, required field, missing signer).
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for DiscloseError
impl Clone for DiscloseError
Source§impl Debug for DiscloseError
impl Debug for DiscloseError
Source§impl Display for DiscloseError
impl Display for DiscloseError
impl Eq for DiscloseError
Source§impl Error for DiscloseError
impl Error for DiscloseError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<CanonError> for DiscloseError
impl From<CanonError> for DiscloseError
Source§fn from(error: CanonError) -> Self
fn from(error: CanonError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DiscloseError
impl PartialEq for DiscloseError
impl StructuralPartialEq for DiscloseError
Auto Trait Implementations§
impl Freeze for DiscloseError
impl RefUnwindSafe for DiscloseError
impl Send for DiscloseError
impl Sync for DiscloseError
impl Unpin for DiscloseError
impl UnsafeUnpin for DiscloseError
impl UnwindSafe for DiscloseError
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