Struct sctp_proto::StreamState[][src]

pub struct StreamState { /* fields omitted */ }
Expand description

StreamState represents the state of an SCTP stream

Implementations

stream_identifier returns the Stream identifier associated to the stream.

set_default_payload_type sets the default payload type used by write.

set_reliability_params sets reliability parameters for this stream.

buffered_amount returns the number of bytes of data currently queued to be sent over this stream.

buffered_amount_low_threshold returns the number of bytes of buffered outgoing data that is considered “low.” Defaults to 0.

set_buffered_amount_low_threshold is used to update the threshold. See buffered_amount_low_threshold().

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. 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

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more