pub struct NetworkObservation { /* private fields */ }Expand description
One inspected runtime network.
Implementations§
Source§impl NetworkObservation
impl NetworkObservation
Sourcepub const fn new(source_id: SourceId, name: Identifier) -> Self
pub const fn new(source_id: SourceId, name: Identifier) -> Self
Creates a runtime network observation.
Sourcepub const fn source_id(&self) -> &SourceId
pub const fn source_id(&self) -> &SourceId
Returns the stable, caller-redacted network identity.
Sourcepub const fn name(&self) -> &Identifier
pub const fn name(&self) -> &Identifier
Returns the neutral resource name selected by the runtime adapter.
Trait Implementations§
Source§impl Clone for NetworkObservation
impl Clone for NetworkObservation
Source§fn clone(&self) -> NetworkObservation
fn clone(&self) -> NetworkObservation
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 NetworkObservation
impl Debug for NetworkObservation
impl Eq for NetworkObservation
Source§impl PartialEq for NetworkObservation
impl PartialEq for NetworkObservation
impl StructuralPartialEq for NetworkObservation
Auto Trait Implementations§
impl Freeze for NetworkObservation
impl RefUnwindSafe for NetworkObservation
impl Send for NetworkObservation
impl Sync for NetworkObservation
impl Unpin for NetworkObservation
impl UnsafeUnpin for NetworkObservation
impl UnwindSafe for NetworkObservation
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