Enum sctp_proto::AssociationError
source · pub enum AssociationError {
HandshakeFailed(Error),
TransportError,
AssociationClosed,
ApplicationClosed,
Reset,
TimedOut,
LocallyClosed,
}
Expand description
Reasons why an association might be lost
Variants§
HandshakeFailed(Error)
Handshake failed
TransportError
The peer violated the QUIC specification as understood by this implementation
AssociationClosed
The peer’s QUIC stack aborted the association automatically
ApplicationClosed
The peer closed the association
Reset
The peer is unable to continue processing this association, usually due to having restarted
TimedOut
Communication with the peer has lapsed for longer than the negotiated idle timeout
If neither side is sending keep-alives, an association will time out after a long enough idle period even if the peer is still reachable
LocallyClosed
The local application closed the association
Trait Implementations§
source§impl Clone for AssociationError
impl Clone for AssociationError
source§fn clone(&self) -> AssociationError
fn clone(&self) -> AssociationError
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 AssociationError
impl Debug for AssociationError
source§impl Display for AssociationError
impl Display for AssociationError
source§impl Error for AssociationError
impl Error for AssociationError
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<Error> for AssociationError
impl From<Error> for AssociationError
source§impl PartialEq for AssociationError
impl PartialEq for AssociationError
source§fn eq(&self, other: &AssociationError) -> bool
fn eq(&self, other: &AssociationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AssociationError
impl StructuralPartialEq for AssociationError
Auto Trait Implementations§
impl Freeze for AssociationError
impl RefUnwindSafe for AssociationError
impl Send for AssociationError
impl Sync for AssociationError
impl Unpin for AssociationError
impl UnwindSafe for AssociationError
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