Enum sctp_rs::Event

source ·
#[repr(u16)]
pub enum Event {
Show 14 variants DataIo, Association, Address, SendFailure, PeerError, Shutdown, PartialDelivery, AdaptationLayer, Authentication, SenderDry, StreamReset, AssociationReset, StreamChange, SendFailureEvent,
}
Expand description

Event: Used for Subscribing for SCTP Events

See sctp_subscribe_events for the usage.

Variants§

§

DataIo

Event to receive ancillary information with every sct_recv.

§

Association

Event related to association change.

§

Address

Event related to peer address change.

§

SendFailure

Event related to send failure.

§

PeerError

Event related to error received from the peer.

§

Shutdown

Event related to indicate peer shutdown.

§

PartialDelivery

Event related to indicate partial delivery.

§

AdaptationLayer

Event related to indicate peer’s partial indication.

§

Authentication

Authentication event.

§

SenderDry

Event related to sender having no outstanding user data.

§

StreamReset

Event related to stream reset.

§

AssociationReset

Event related to association reset.

§

StreamChange

Event related to stream change.

§

SendFailureEvent

Send Failure Event indication. (The actual received information is different from the one received in the SendFailed event.)

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.