Struct OciLayoutPaths
pub struct OciLayoutPaths { /* private fields */ }Expand description
Lexical OCI image layout paths. This type does not create directories or files.
Implementations§
§impl OciLayoutPaths
impl OciLayoutPaths
pub fn new(root: impl Into<PathBuf>) -> OciLayoutPaths
pub fn new(root: impl Into<PathBuf>) -> OciLayoutPaths
Creates layout path helpers from a lexical root path.
pub fn index_file(&self) -> PathBuf
pub fn index_file(&self) -> PathBuf
Returns the index.json path.
Trait Implementations§
§impl Clone for OciLayoutPaths
impl Clone for OciLayoutPaths
§fn clone(&self) -> OciLayoutPaths
fn clone(&self) -> OciLayoutPaths
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for OciLayoutPaths
impl Debug for OciLayoutPaths
§impl Hash for OciLayoutPaths
impl Hash for OciLayoutPaths
§impl Ord for OciLayoutPaths
impl Ord for OciLayoutPaths
§impl PartialEq for OciLayoutPaths
impl PartialEq for OciLayoutPaths
§impl PartialOrd for OciLayoutPaths
impl PartialOrd for OciLayoutPaths
impl Eq for OciLayoutPaths
impl StructuralPartialEq for OciLayoutPaths
Auto Trait Implementations§
impl Freeze for OciLayoutPaths
impl RefUnwindSafe for OciLayoutPaths
impl Send for OciLayoutPaths
impl Sync for OciLayoutPaths
impl Unpin for OciLayoutPaths
impl UnsafeUnpin for OciLayoutPaths
impl UnwindSafe for OciLayoutPaths
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