pub struct NegotiatedExtension { /* private fields */ }Expand description
An enabled extension after the current-message bilateral negotiation.
Implementations§
Source§impl NegotiatedExtension
impl NegotiatedExtension
Sourcepub const fn id(&self) -> &ExtensionId
pub const fn id(&self) -> &ExtensionId
Returns the registered descriptor identifier.
Sourcepub const fn effective_settings(&self) -> &EffectiveExtensionSettings
pub const fn effective_settings(&self) -> &EffectiveExtensionSettings
Returns the compatibility resolver’s normalized effective settings.
Trait Implementations§
Source§impl Clone for NegotiatedExtension
impl Clone for NegotiatedExtension
Source§fn clone(&self) -> NegotiatedExtension
fn clone(&self) -> NegotiatedExtension
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NegotiatedExtension
impl Debug for NegotiatedExtension
Source§impl PartialEq for NegotiatedExtension
impl PartialEq for NegotiatedExtension
impl StructuralPartialEq for NegotiatedExtension
Auto Trait Implementations§
impl Freeze for NegotiatedExtension
impl RefUnwindSafe for NegotiatedExtension
impl Send for NegotiatedExtension
impl Sync for NegotiatedExtension
impl Unpin for NegotiatedExtension
impl UnsafeUnpin for NegotiatedExtension
impl UnwindSafe for NegotiatedExtension
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).