Enum skytable::error::ConnectionSetupError
source · pub enum ConnectionSetupError {
Other(String),
HandshakeError(u8),
InvalidServerHandshake,
}
Expand description
An error specifically returned during connection setup. This is returned usually when there is a bad configuration
Variants§
Other(String)
Some error occurred while setting up a connection
HandshakeError(u8)
Handshake failed while establishing a connection
InvalidServerHandshake
The server responded with an invalid handshake
Trait Implementations§
source§impl Clone for ConnectionSetupError
impl Clone for ConnectionSetupError
source§fn clone(&self) -> ConnectionSetupError
fn clone(&self) -> ConnectionSetupError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConnectionSetupError
impl Debug for ConnectionSetupError
source§impl Display for ConnectionSetupError
impl Display for ConnectionSetupError
source§impl Error for ConnectionSetupError
impl Error for ConnectionSetupError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<ConnectionSetupError> for Error
impl From<ConnectionSetupError> for Error
source§fn from(e: ConnectionSetupError) -> Self
fn from(e: ConnectionSetupError) -> Self
Converts to this type from the input type.
source§impl PartialEq for ConnectionSetupError
impl PartialEq for ConnectionSetupError
source§fn eq(&self, other: &ConnectionSetupError) -> bool
fn eq(&self, other: &ConnectionSetupError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectionSetupError
Auto Trait Implementations§
impl Freeze for ConnectionSetupError
impl RefUnwindSafe for ConnectionSetupError
impl Send for ConnectionSetupError
impl Sync for ConnectionSetupError
impl Unpin for ConnectionSetupError
impl UnwindSafe for ConnectionSetupError
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