pub struct PlannedFile { /* private fields */ }Expand description
One entry of the output rootfs. Nothing is written that is not planned here.
Implementations§
Source§impl PlannedFile
impl PlannedFile
pub fn source(&self) -> Option<&Path>
pub fn destination(&self) -> &Path
pub fn kind(&self) -> PlannedFileKind
pub fn reason(&self) -> &InclusionReason
pub fn mode(&self) -> u32
pub fn size(&self) -> u64
pub fn sha256(&self) -> Option<&Digest>
pub fn link_target(&self) -> Option<&Path>
pub fn content(&self) -> Option<&[u8]>
Trait Implementations§
Source§impl Clone for PlannedFile
impl Clone for PlannedFile
Source§fn clone(&self) -> PlannedFile
fn clone(&self) -> PlannedFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PlannedFile
impl RefUnwindSafe for PlannedFile
impl Send for PlannedFile
impl Sync for PlannedFile
impl Unpin for PlannedFile
impl UnsafeUnpin for PlannedFile
impl UnwindSafe for PlannedFile
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