#[non_exhaustive]pub enum ContainerPathError {
Empty,
LeadingSlash,
Percent,
NotAContainer,
Shape(ParsePodPathError),
Acl,
Profile,
}Expand description
The rule of the manifest path rule that a path breaks.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Empty
The path is empty (the pod root is not grantable).
LeadingSlash
The path starts with /.
Percent
The path holds %.
NotAContainer
The path does not end in /.
Shape(ParsePodPathError)
The pod path parser refused the prefixed path: a character outside
A–Z a–z 0–9 - . _ ~ /, a . or .. segment, or an empty segment.
Acl
The path is an ACL.
Profile
The first segment is profile.
Trait Implementations§
Source§impl Clone for ContainerPathError
impl Clone for ContainerPathError
impl Copy for ContainerPathError
Source§impl Debug for ContainerPathError
impl Debug for ContainerPathError
Source§impl Display for ContainerPathError
impl Display for ContainerPathError
impl Eq for ContainerPathError
Source§impl Error for ContainerPathError
impl Error for ContainerPathError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ContainerPathError
impl PartialEq for ContainerPathError
impl StructuralPartialEq for ContainerPathError
Auto Trait Implementations§
impl Forget for ContainerPathError
impl Freeze for ContainerPathError
impl Move for ContainerPathError
impl RefUnwindSafe for ContainerPathError
impl Send for ContainerPathError
impl Sync for ContainerPathError
impl Unpin for ContainerPathError
impl UnsafeUnpin for ContainerPathError
impl UnwindSafe for ContainerPathError
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