pub struct OciLayoutPaths { /* private fields */ }Expand description
Lexical OCI image layout paths. This type does not create directories or files.
Implementations§
Source§impl OciLayoutPaths
impl OciLayoutPaths
Sourcepub fn new(root: impl Into<PathBuf>) -> OciLayoutPaths
pub fn new(root: impl Into<PathBuf>) -> OciLayoutPaths
Creates layout path helpers from a lexical root path.
Sourcepub fn index_file(&self) -> PathBuf
pub fn index_file(&self) -> PathBuf
Returns the index.json path.
Trait Implementations§
Source§impl Clone for OciLayoutPaths
impl Clone for OciLayoutPaths
Source§fn clone(&self) -> OciLayoutPaths
fn clone(&self) -> OciLayoutPaths
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 moreSource§impl Debug for OciLayoutPaths
impl Debug for OciLayoutPaths
Source§impl Hash for OciLayoutPaths
impl Hash for OciLayoutPaths
Source§impl Ord for OciLayoutPaths
impl Ord for OciLayoutPaths
Source§fn cmp(&self, other: &OciLayoutPaths) -> Ordering
fn cmp(&self, other: &OciLayoutPaths) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OciLayoutPaths
impl PartialEq for OciLayoutPaths
Source§fn eq(&self, other: &OciLayoutPaths) -> bool
fn eq(&self, other: &OciLayoutPaths) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§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