pub enum ClientConnectErr {
Socket(Error),
Messaging(MessagingErr<NodeServerMessage>),
Encryption(Error),
}
Expand description
A client connection error. Possible issues are Socket connection problems or failure to talk to the super::NodeServer
Variants§
Socket(Error)
Socket failed to bind, returning the underlying tokio error
Messaging(MessagingErr<NodeServerMessage>)
Error communicating to the super::NodeServer actor. Actor receiving port is closed
Encryption(Error)
Some error with encryption has occurred
Trait Implementations§
source§impl Debug for ClientConnectErr
impl Debug for ClientConnectErr
source§impl Display for ClientConnectErr
impl Display for ClientConnectErr
source§impl Error for ClientConnectErr
impl Error for ClientConnectErr
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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<Error> for ClientConnectErr
impl From<Error> for ClientConnectErr
source§impl From<MessagingErr<NodeServerMessage>> for ClientConnectErr
impl From<MessagingErr<NodeServerMessage>> for ClientConnectErr
source§fn from(value: MessagingErr<NodeServerMessage>) -> Self
fn from(value: MessagingErr<NodeServerMessage>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for ClientConnectErr
impl !RefUnwindSafe for ClientConnectErr
impl Send for ClientConnectErr
impl Sync for ClientConnectErr
impl Unpin for ClientConnectErr
impl !UnwindSafe for ClientConnectErr
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