pub struct ServerExtensionDiscovery {
pub extensions: BTreeMap<ExtensionId, ExtensionSettings>,
}Expand description
Public server discovery input; no server runtime is stored here.
Fields§
§extensions: BTreeMap<ExtensionId, ExtensionSettings>Enabled server extensions keyed by their IDs.
Trait Implementations§
Source§impl Clone for ServerExtensionDiscovery
impl Clone for ServerExtensionDiscovery
Source§fn clone(&self) -> ServerExtensionDiscovery
fn clone(&self) -> ServerExtensionDiscovery
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 ServerExtensionDiscovery
impl Debug for ServerExtensionDiscovery
Source§impl Default for ServerExtensionDiscovery
impl Default for ServerExtensionDiscovery
Source§fn default() -> ServerExtensionDiscovery
fn default() -> ServerExtensionDiscovery
Returns the “default value” for a type. Read more
Source§impl PartialEq for ServerExtensionDiscovery
impl PartialEq for ServerExtensionDiscovery
impl StructuralPartialEq for ServerExtensionDiscovery
Auto Trait Implementations§
impl Freeze for ServerExtensionDiscovery
impl RefUnwindSafe for ServerExtensionDiscovery
impl Send for ServerExtensionDiscovery
impl Sync for ServerExtensionDiscovery
impl Unpin for ServerExtensionDiscovery
impl UnsafeUnpin for ServerExtensionDiscovery
impl UnwindSafe for ServerExtensionDiscovery
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).