pub enum CoreMethodsError {
HypercoreError(HypercoreError),
}Expand description
Error for CoreMethods trait
Variants§
HypercoreError(HypercoreError)
Error from hypercore
Trait Implementations§
Source§impl Debug for CoreMethodsError
impl Debug for CoreMethodsError
Source§impl Display for CoreMethodsError
impl Display for CoreMethodsError
Source§impl Error for CoreMethodsError
impl Error for CoreMethodsError
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<CoreMethodsError> for ReplicationMethodsError
impl From<CoreMethodsError> for ReplicationMethodsError
Source§fn from(source: CoreMethodsError) -> Self
fn from(source: CoreMethodsError) -> Self
Converts to this type from the input type.
Source§impl From<HypercoreError> for CoreMethodsError
impl From<HypercoreError> for CoreMethodsError
Source§fn from(source: HypercoreError) -> Self
fn from(source: HypercoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CoreMethodsError
impl !RefUnwindSafe for CoreMethodsError
impl Send for CoreMethodsError
impl Sync for CoreMethodsError
impl Unpin for CoreMethodsError
impl UnsafeUnpin for CoreMethodsError
impl !UnwindSafe for CoreMethodsError
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
Source§impl<E> Fail for E
impl<E> Fail for E
Source§fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read more