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