pub struct ClientNodeError {
pub kind: ClientErrorKind,
}Fields§
§kind: ClientErrorKindImplementations§
Source§impl ClientNodeError
impl ClientNodeError
pub fn unexpected_response(response: EdgeResponseEnum) -> Self
pub fn disconnected(context: &'static str) -> Self
Trait Implementations§
Source§impl Debug for ClientNodeError
impl Debug for ClientNodeError
Source§impl Display for ClientNodeError
impl Display for ClientNodeError
Source§impl Error for ClientNodeError
impl Error for ClientNodeError
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 From<EdgeConnectionError> for ClientNodeError
impl From<EdgeConnectionError> for ClientNodeError
Source§fn from(e: EdgeConnectionError) -> Self
fn from(e: EdgeConnectionError) -> Self
Converts to this type from the input type.
Source§impl From<EdgeError> for ClientNodeError
impl From<EdgeError> for ClientNodeError
Source§impl From<WaitAckError> for ClientNodeError
impl From<WaitAckError> for ClientNodeError
Source§fn from(e: WaitAckError) -> Self
fn from(e: WaitAckError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for ClientNodeError
impl !RefUnwindSafe for ClientNodeError
impl Send for ClientNodeError
impl !Sync for ClientNodeError
impl Unpin for ClientNodeError
impl !UnwindSafe for ClientNodeError
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