pub struct Regular {
pub meta: Metadata,
pub content: Content,
}Expand description
A regular file.
Fields§
§meta: MetadataThe logical metadata of the file inode.
content: ContentThe content of the file: empty, or backed by a loose object.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Regular
impl Freeze for Regular
impl Move for Regular
impl RefUnwindSafe for Regular
impl Send for Regularwhere
RawVecInner: Send,
impl Sync for Regularwhere
RawVecInner: Sync,
impl Unpin for Regular
impl UnsafeUnpin for Regularwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(Vec<u8>, Vec<u8>)>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Regularwhere
RawVecInner: UnwindSafe,
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