pub struct ManagedTempResourceFactory;Expand description
Default factory backed by generic FileSystem operations.
Implementations§
Source§impl ManagedTempResourceFactory
impl ManagedTempResourceFactory
Returns the shared managed temporary resource factory.
§Returns
Static managed temporary resource factory instance.
Trait Implementations§
Source§impl Debug for ManagedTempResourceFactory
impl Debug for ManagedTempResourceFactory
Source§impl TempResourceFactory for ManagedTempResourceFactory
impl TempResourceFactory for ManagedTempResourceFactory
Source§fn create_file(
&self,
owner: Arc<dyn FileSystem>,
options: &TempFileOptions,
) -> FsResult<Box<dyn TempFile>>
fn create_file( &self, owner: Arc<dyn FileSystem>, options: &TempFileOptions, ) -> FsResult<Box<dyn TempFile>>
Creates a temporary file. Read more
Source§fn create_dir(
&self,
owner: Arc<dyn FileSystem>,
options: &TempDirOptions,
) -> FsResult<Box<dyn TempDir>>
fn create_dir( &self, owner: Arc<dyn FileSystem>, options: &TempDirOptions, ) -> FsResult<Box<dyn TempDir>>
Creates a temporary directory. Read more
Auto Trait Implementations§
impl Freeze for ManagedTempResourceFactory
impl RefUnwindSafe for ManagedTempResourceFactory
impl Send for ManagedTempResourceFactory
impl Sync for ManagedTempResourceFactory
impl Unpin for ManagedTempResourceFactory
impl UnsafeUnpin for ManagedTempResourceFactory
impl UnwindSafe for ManagedTempResourceFactory
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> IntoValueDefault<T> for T
impl<T> IntoValueDefault<T> for T
Source§fn into_value_default(self) -> T
fn into_value_default(self) -> T
Converts this argument into the default value.