pub enum ReplicaQueryError {
Io(Error),
Cbor(Error),
Json(Error),
Query(String),
Rejected {
code: u64,
message: String,
},
}Expand description
ReplicaQueryError
Variants§
Trait Implementations§
Source§impl Debug for ReplicaQueryError
impl Debug for ReplicaQueryError
Source§impl Display for ReplicaQueryError
impl Display for ReplicaQueryError
Source§impl Error for ReplicaQueryError
impl Error for ReplicaQueryError
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 ReplicaQueryError
impl From<Error> for ReplicaQueryError
Source§impl From<Error> for ReplicaQueryError
impl From<Error> for ReplicaQueryError
Auto Trait Implementations§
impl Freeze for ReplicaQueryError
impl !RefUnwindSafe for ReplicaQueryError
impl Send for ReplicaQueryError
impl Sync for ReplicaQueryError
impl Unpin for ReplicaQueryError
impl UnsafeUnpin for ReplicaQueryError
impl !UnwindSafe for ReplicaQueryError
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