pub struct OpenStdFile { /* private fields */ }
Expand description
An open StdFile
that belongs to a StdFileManager
.
Trait Implementations
sourceimpl Debug for OpenStdFile
impl Debug for OpenStdFile
sourceimpl Drop for OpenStdFile
impl Drop for OpenStdFile
sourceimpl OpenableFile<StdFile> for OpenStdFile
impl OpenableFile<StdFile> for OpenStdFile
sourcefn replace_with<C: FnOnce(u64)>(
self,
replacement: StdFile,
manager: &StdFileManager,
publish_callback: C
) -> Result<Self, Error>
fn replace_with<C: FnOnce(u64)>(
self,
replacement: StdFile,
manager: &StdFileManager,
publish_callback: C
) -> Result<Self, Error>
Replaces the current file with the file located at path
atomically.
sourceimpl OperableFile<StdFile> for OpenStdFile
impl OperableFile<StdFile> for OpenStdFile
Auto Trait Implementations
impl !RefUnwindSafe for OpenStdFile
impl Send for OpenStdFile
impl Sync for OpenStdFile
impl Unpin for OpenStdFile
impl !UnwindSafe for OpenStdFile
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