#[non_exhaustive]pub enum ReconfigEvent {
OutgoingStreamsReset {
streams: Vec<StreamId>,
},
OutgoingStreamsResetFailed {
streams: Vec<StreamId>,
denied: bool,
},
IncomingStreamsResetNotPerformed {
streams: Vec<StreamId>,
denied: bool,
},
OutgoingResetRequestedByPeer {
streams: Vec<StreamId>,
},
AssociationReset {
local_next_tsn: u32,
remote_next_tsn: u32,
},
AssociationResetFailed {
denied: bool,
},
StreamsAdded {
inbound_streams: u16,
outbound_streams: u16,
},
AddStreamsFailed {
denied: bool,
},
}Expand description
The outcome of a stream re-configuration (RFC 6525 section 6.1 describes these as socket events).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
OutgoingStreamsReset
The peer performed the reset of these outgoing streams this side asked for: each sends from Stream Sequence Number 0 again. No stream listed means all of them.
OutgoingStreamsResetFailed
The peer did not perform a reset of outgoing streams this side asked for; the streams go on with the sequence numbers they had.
Fields
IncomingStreamsResetNotPerformed
The peer answered a request to reset its outgoing streams
(Association::request_incoming_stream_reset) without resetting them: it refused,
or it had nothing to do.
Fields
OutgoingResetRequestedByPeer
The peer asked this side to reset these outgoing streams (all when none is listed), and this side is doing so.
AssociationReset
The TSNs of both directions and the Stream Sequence Numbers of every stream started over, at this side’s request or at the peer’s.
Fields
AssociationResetFailed
The peer did not perform the SSN/TSN reset this side asked for.
StreamsAdded
The number of streams changed: the counts the association has now.
Fields
AddStreamsFailed
The peer did not add the streams this side asked for.