Enum fabruic::error::Connecting
source · pub enum Connecting {
ProtocolMismatch,
Connection(ConnectionError),
}
Expand description
Error completing connection with peer with
Incoming::type
or
Incoming::accept
.
Variants§
ProtocolMismatch
The peer did not accept any of the protocols specified.
Connection(ConnectionError)
An error completing the connection.
Trait Implementations§
source§impl Clone for Connecting
impl Clone for Connecting
source§fn clone(&self) -> Connecting
fn clone(&self) -> Connecting
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 Connecting
impl Debug for Connecting
source§impl Display for Connecting
impl Display for Connecting
source§impl Error for Connecting
impl Error for Connecting
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<ConnectionError> for Connecting
impl From<ConnectionError> for Connecting
source§fn from(err: ConnectionError) -> Self
fn from(err: ConnectionError) -> Self
Converts to this type from the input type.
source§impl PartialEq<Connecting> for Connecting
impl PartialEq<Connecting> for Connecting
source§fn eq(&self, other: &Connecting) -> bool
fn eq(&self, other: &Connecting) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Connecting
impl StructuralEq for Connecting
impl StructuralPartialEq for Connecting
Auto Trait Implementations§
impl RefUnwindSafe for Connecting
impl Send for Connecting
impl Sync for Connecting
impl Unpin for Connecting
impl UnwindSafe for Connecting
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.