pub struct NodeChunk {
pub source: ChunkSource,
pub inner: Arc<ChunkWrapper>,
}Expand description
Chunk information for RAFS filesystem builder.
Fields§
§source: ChunkSource§inner: Arc<ChunkWrapper>Implementations§
Source§impl NodeChunk
impl NodeChunk
Sourcepub fn copy_from(&mut self, other: &ChunkWrapper)
pub fn copy_from(&mut self, other: &ChunkWrapper)
Copy all chunk information from another ChunkWrapper object.
Sourcepub fn set_blob_index(&mut self, index: u32)
pub fn set_blob_index(&mut self, index: u32)
Set blob index.
Sourcepub fn set_compressed_size(&mut self, size: u32)
pub fn set_compressed_size(&mut self, size: u32)
Set chunk compressed size.
Sourcepub fn set_file_offset(&mut self, offset: u64)
pub fn set_file_offset(&mut self, offset: u64)
Set file offset of chunk.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeChunk
impl !RefUnwindSafe for NodeChunk
impl Send for NodeChunk
impl Sync for NodeChunk
impl Unpin for NodeChunk
impl !UnwindSafe for NodeChunk
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