pub struct Object<'a> {
pub metadata: Metadata,
pub name: &'a str,
pub data: &'a [u8],
}Expand description
File system object in CPIO file.
Fields§
§metadata: MetadataThe file metadata.
name: &'a strThe full pathname.
data: &'a [u8]The file data.
Auto Trait Implementations§
impl<'a> Freeze for Object<'a>
impl<'a> RefUnwindSafe for Object<'a>
impl<'a> Send for Object<'a>
impl<'a> Sync for Object<'a>
impl<'a> Unpin for Object<'a>
impl<'a> UnwindSafe for Object<'a>
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