pub struct ExtensionDiscovery {
pub id: ExtensionId,
pub settings: ExtensionSettings,
}Expand description
Public discovery input for one enabled local extension.
Fields§
§id: ExtensionIdRegistered extension identifier.
settings: ExtensionSettingsExact generic settings advertised by this peer.
Trait Implementations§
Source§impl Clone for ExtensionDiscovery
impl Clone for ExtensionDiscovery
Source§fn clone(&self) -> ExtensionDiscovery
fn clone(&self) -> ExtensionDiscovery
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 ExtensionDiscovery
impl Debug for ExtensionDiscovery
Source§impl PartialEq for ExtensionDiscovery
impl PartialEq for ExtensionDiscovery
impl StructuralPartialEq for ExtensionDiscovery
Auto Trait Implementations§
impl Freeze for ExtensionDiscovery
impl RefUnwindSafe for ExtensionDiscovery
impl Send for ExtensionDiscovery
impl Sync for ExtensionDiscovery
impl Unpin for ExtensionDiscovery
impl UnsafeUnpin for ExtensionDiscovery
impl UnwindSafe for ExtensionDiscovery
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).