pub struct AnonymousFile {
pub data: Vec<u8>,
pub stat: VirtualStat,
/* private fields */
}Fields§
§data: Vec<u8>§stat: VirtualStatImplementations§
Source§impl AnonymousFile
impl AnonymousFile
pub fn new( data: Vec<u8>, stat: VirtualStat, usage: Arc<AnonymousFileUsage>, ) -> Self
Trait Implementations§
Source§impl Debug for AnonymousFile
impl Debug for AnonymousFile
Source§impl Drop for AnonymousFile
impl Drop for AnonymousFile
Auto Trait Implementations§
impl Freeze for AnonymousFile
impl RefUnwindSafe for AnonymousFile
impl Send for AnonymousFile
impl Sync for AnonymousFile
impl Unpin for AnonymousFile
impl UnsafeUnpin for AnonymousFile
impl UnwindSafe for AnonymousFile
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> 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