pub struct MountedDevicePathBorrowed<'dev> { /* private fields */ }Expand description
On-device path with borrowed mounted device.
Implementations§
source§impl<'dev> MountedDevicePathBorrowed<'dev>
impl<'dev> MountedDevicePathBorrowed<'dev>
pub fn drive(&self) -> &MountedDevice
sourcepub fn path_local(&self) -> &str
pub fn path_local(&self) -> &str
Local on-device path.
pub fn into_path(self) -> String
pub fn into_parts(self) -> (&'dev MountedDevice, String)
pub fn to_owned_replacing( self, ) -> impl FnOnce(MountedDevice) -> MountedDevicePath
Auto Trait Implementations§
impl<'dev> Freeze for MountedDevicePathBorrowed<'dev>
impl<'dev> !RefUnwindSafe for MountedDevicePathBorrowed<'dev>
impl<'dev> Send for MountedDevicePathBorrowed<'dev>
impl<'dev> Sync for MountedDevicePathBorrowed<'dev>
impl<'dev> Unpin for MountedDevicePathBorrowed<'dev>
impl<'dev> !UnwindSafe for MountedDevicePathBorrowed<'dev>
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes