pub enum NegotiationChange {
DurationReduced {
requested: Option<Duration>,
negotiated: Duration,
},
IntervalIncreased {
requested: Duration,
negotiated: Duration,
},
IntervalReduced {
requested: Duration,
negotiated: Duration,
},
LengthReduced {
requested: u32,
negotiated: u32,
},
ReceivedStatsChanged {
requested: ReceivedStats,
negotiated: ReceivedStats,
},
StampAtChanged {
requested: StampAt,
negotiated: StampAt,
},
ClockChanged {
requested: Clock,
negotiated: Clock,
},
DscpChanged {
requested: u8,
negotiated: u8,
},
ServerFillChanged {
requested: Option<String>,
negotiated: Option<String>,
},
}Expand description
A semantic parameter change accepted during negotiation.
Variants§
DurationReduced
A finite duration was reduced, or continuous mode was limited.
IntervalIncreased
IntervalReduced
Loose policy accepts any positive reduced interval.
LengthReduced
ReceivedStatsChanged
StampAtChanged
ClockChanged
DscpChanged
Both values are DSCP codepoints, rather than raw Traffic Class bytes.
ServerFillChanged
Implementations§
Trait Implementations§
Source§impl Clone for NegotiationChange
impl Clone for NegotiationChange
Source§impl Debug for NegotiationChange
impl Debug for NegotiationChange
Source§impl Display for NegotiationChange
impl Display for NegotiationChange
impl Eq for NegotiationChange
Source§impl PartialEq for NegotiationChange
impl PartialEq for NegotiationChange
impl StructuralPartialEq for NegotiationChange
Auto Trait Implementations§
impl Freeze for NegotiationChange
impl RefUnwindSafe for NegotiationChange
impl Send for NegotiationChange
impl Sync for NegotiationChange
impl Unpin for NegotiationChange
impl UnsafeUnpin for NegotiationChange
impl UnwindSafe for NegotiationChange
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