pub struct AcceptedSessionParameters {
pub duration: Option<Duration>,
pub interval: Duration,
pub length: u32,
pub received_stats: ReceivedStats,
pub stamp_at: StampAt,
pub clock: Clock,
pub dscp: u8,
pub server_fill: Option<String>,
}Expand description
Validated session semantics accepted after a successful Open exchange.
These values drive ordinary client behavior. The exact peer-returned wire
representation is available separately in NegotiationResult::peer_params.
Fields§
§duration: Option<Duration>None means continuous mode; finite durations are positive.
interval: DurationPositive interval between probes when driven by a scheduler.
length: u32Accepted packet length in the usable unsigned domain.
received_stats: ReceivedStats§stamp_at: StampAt§clock: Clock§dscp: u8DSCP codepoint (0..=63), as in crate::SessionRequest::dscp.
server_fill: Option<String>Accepted server payload fill, preserving the peer’s string value.
Trait Implementations§
Source§impl Clone for AcceptedSessionParameters
impl Clone for AcceptedSessionParameters
Source§impl Debug for AcceptedSessionParameters
impl Debug for AcceptedSessionParameters
impl Eq for AcceptedSessionParameters
impl StructuralPartialEq for AcceptedSessionParameters
Auto Trait Implementations§
impl Freeze for AcceptedSessionParameters
impl RefUnwindSafe for AcceptedSessionParameters
impl Send for AcceptedSessionParameters
impl Sync for AcceptedSessionParameters
impl Unpin for AcceptedSessionParameters
impl UnsafeUnpin for AcceptedSessionParameters
impl UnwindSafe for AcceptedSessionParameters
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