pub enum IcpCandidCallError {
Encode(Error),
File(Error),
Icp(IcpCommandError),
Response(IcpJsonResponseError),
}Expand description
Typed transport or codec failure for a raw Candid update.
Variants§
Trait Implementations§
Source§impl Debug for IcpCandidCallError
impl Debug for IcpCandidCallError
Source§impl Display for IcpCandidCallError
impl Display for IcpCandidCallError
Source§impl Error for IcpCandidCallError
impl Error for IcpCandidCallError
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<IcpCandidCallError> for IcpEnsurePlatformError
impl From<IcpCandidCallError> for IcpEnsurePlatformError
Source§fn from(source: IcpCandidCallError) -> Self
fn from(source: IcpCandidCallError) -> Self
Converts to this type from the input type.
Source§impl From<IcpCommandError> for IcpCandidCallError
impl From<IcpCommandError> for IcpCandidCallError
Source§fn from(source: IcpCommandError) -> Self
fn from(source: IcpCommandError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for IcpCandidCallError
impl !UnwindSafe for IcpCandidCallError
impl Freeze for IcpCandidCallError
impl Send for IcpCandidCallError
impl Sync for IcpCandidCallError
impl Unpin for IcpCandidCallError
impl UnsafeUnpin for IcpCandidCallError
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