pub struct PreparedExisting {
pub parent: File,
pub file: File,
pub basename: OsString,
pub display_path: PathBuf,
pub identity: ObjectIdentity,
pub content_digest: Sha256Digest,
pub directory: bool,
/* private fields */
}Fields§
§parent: File§file: File§basename: OsString§display_path: PathBuf§identity: ObjectIdentity§content_digest: Sha256Digest§directory: boolImplementations§
Source§impl PreparedExisting
impl PreparedExisting
pub fn manifest_bytes(&self) -> Result<Vec<u8>, ToolError>
pub fn proc_fd_path(&self) -> PathBuf
pub fn read_bytes(&self) -> Result<Vec<u8>, ToolError>
pub fn verified_bytes(&self) -> Result<Vec<u8>, ToolError>
pub fn directory_entries(&self) -> Result<Vec<(String, bool)>, ToolError>
pub fn revalidate(&self) -> Result<(), ToolError>
pub fn replace_atomically( &self, bytes: &[u8], ) -> Result<AtomicWriteOutcome, ToolError>
Auto Trait Implementations§
impl Freeze for PreparedExisting
impl RefUnwindSafe for PreparedExisting
impl Send for PreparedExisting
impl Sync for PreparedExisting
impl Unpin for PreparedExisting
impl UnsafeUnpin for PreparedExisting
impl UnwindSafe for PreparedExisting
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