pub enum CanicMetadataQueryError {
Icp(IcpCommandError),
Response(IcpJsonResponseError),
}Expand description
CanicMetadataQueryError
Variants§
Icp(IcpCommandError)
Response(IcpJsonResponseError)
Trait Implementations§
Source§impl Debug for CanicMetadataQueryError
impl Debug for CanicMetadataQueryError
Source§impl Display for CanicMetadataQueryError
impl Display for CanicMetadataQueryError
Source§impl Error for CanicMetadataQueryError
impl Error for CanicMetadataQueryError
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<IcpCommandError> for CanicMetadataQueryError
impl From<IcpCommandError> for CanicMetadataQueryError
Source§fn from(source: IcpCommandError) -> Self
fn from(source: IcpCommandError) -> Self
Converts to this type from the input type.
Source§impl From<IcpJsonResponseError> for CanicMetadataQueryError
impl From<IcpJsonResponseError> for CanicMetadataQueryError
Source§fn from(source: IcpJsonResponseError) -> Self
fn from(source: IcpJsonResponseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CanicMetadataQueryError
impl !UnwindSafe for CanicMetadataQueryError
impl Freeze for CanicMetadataQueryError
impl Send for CanicMetadataQueryError
impl Sync for CanicMetadataQueryError
impl Unpin for CanicMetadataQueryError
impl UnsafeUnpin for CanicMetadataQueryError
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