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