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