pub struct OpenMemoryFile { /* private fields */ }
Expand description
An open MemoryFile
that is owned by a MemoryFileManager
.
Trait Implementations
sourceimpl Debug for OpenMemoryFile
impl Debug for OpenMemoryFile
sourceimpl OpenableFile<MemoryFile> for OpenMemoryFile
impl OpenableFile<MemoryFile> for OpenMemoryFile
sourcefn replace_with<C: FnOnce(u64)>(
self,
replacement: MemoryFile,
manager: &MemoryFileManager,
publish_callback: C
) -> Result<Self, Error>
fn replace_with<C: FnOnce(u64)>(
self,
replacement: MemoryFile,
manager: &MemoryFileManager,
publish_callback: C
) -> Result<Self, Error>
Replaces the current file with the file located at path
atomically.
sourceimpl OperableFile<MemoryFile> for OpenMemoryFile
impl OperableFile<MemoryFile> for OpenMemoryFile
Auto Trait Implementations
impl !RefUnwindSafe for OpenMemoryFile
impl Send for OpenMemoryFile
impl Sync for OpenMemoryFile
impl Unpin for OpenMemoryFile
impl !UnwindSafe for OpenMemoryFile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more