pub struct NotFound;Expand description
An error type returned by point queries.
Returned by Client::lookup_accounts and Client::lookup_transfers
when the account or transfer does not exist.
Trait Implementations§
Source§impl Error for NotFound
impl Error for NotFound
1.30.0 · 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 Ord for NotFound
impl Ord for NotFound
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for NotFound
impl PartialOrd for NotFound
impl Copy for NotFound
impl Eq for NotFound
impl StructuralPartialEq for NotFound
Auto Trait Implementations§
impl Freeze for NotFound
impl RefUnwindSafe for NotFound
impl Send for NotFound
impl Sync for NotFound
impl Unpin for NotFound
impl UnsafeUnpin for NotFound
impl UnwindSafe for NotFound
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