pub struct OpenFxFilesystem(/* private fields */);Implementations§
Source§impl OpenFxFilesystem
impl OpenFxFilesystem
Sourcepub async fn take_device(self) -> DeviceHolder
pub async fn take_device(self) -> DeviceHolder
Waits for filesystem to be dropped (so callers should ensure all direct and indirect references are dropped) and returns the device. No attempt is made at a graceful shutdown.
Trait Implementations§
Source§impl Deref for OpenFxFilesystem
impl Deref for OpenFxFilesystem
Source§impl Drop for OpenFxFilesystem
impl Drop for OpenFxFilesystem
Source§impl From<Arc<FxFilesystem>> for OpenFxFilesystem
impl From<Arc<FxFilesystem>> for OpenFxFilesystem
Source§fn from(fs: Arc<FxFilesystem>) -> Self
fn from(fs: Arc<FxFilesystem>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OpenFxFilesystem
impl !RefUnwindSafe for OpenFxFilesystem
impl Send for OpenFxFilesystem
impl Sync for OpenFxFilesystem
impl Unpin for OpenFxFilesystem
impl !UnwindSafe for OpenFxFilesystem
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<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more