pub struct NegotiationResult {
pub accepted: AcceptedSessionParameters,
pub peer_params: Params,
pub changes: Vec<NegotiationChange>,
}Expand description
Accepted session semantics, exact protocol evidence, and accepted changes.
Fields§
§accepted: AcceptedSessionParameters§peer_params: ParamsExact decoded parameters returned by the peer, without normalization.
Echo encoding/decoding uses these accepted wire values. dscp here is
the raw IP TOS / Traffic Class byte, unlike AcceptedSessionParameters::dscp.
changes: Vec<NegotiationChange>Differences accepted under crate::NegotiationPolicy::Loose.
Trait Implementations§
Source§impl Clone for NegotiationResult
impl Clone for NegotiationResult
Source§impl Debug for NegotiationResult
impl Debug for NegotiationResult
impl Eq for NegotiationResult
Source§impl PartialEq for NegotiationResult
impl PartialEq for NegotiationResult
impl StructuralPartialEq for NegotiationResult
Auto Trait Implementations§
impl Freeze for NegotiationResult
impl RefUnwindSafe for NegotiationResult
impl Send for NegotiationResult
impl Sync for NegotiationResult
impl Unpin for NegotiationResult
impl UnsafeUnpin for NegotiationResult
impl UnwindSafe for NegotiationResult
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