pub enum TreeSha256ClaimError {
DuplicateDigestHeader,
InvalidExcludedPath,
}Expand description
Failure modes when reading or validating a TreeSha256Claim from tag headers.
Variants§
DuplicateDigestHeader
More than one tree-sha256 header appeared after tagger.
InvalidExcludedPath
A tree-sha256-excluded path was empty or contained NUL or newline.
Trait Implementations§
Source§impl Clone for TreeSha256ClaimError
impl Clone for TreeSha256ClaimError
Source§impl Debug for TreeSha256ClaimError
impl Debug for TreeSha256ClaimError
Source§impl Display for TreeSha256ClaimError
impl Display for TreeSha256ClaimError
impl Eq for TreeSha256ClaimError
Source§impl Error for TreeSha256ClaimError
impl Error for TreeSha256ClaimError
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 From<TreeSha256ClaimError> for Error
impl From<TreeSha256ClaimError> for Error
Source§fn from(source: TreeSha256ClaimError) -> Self
fn from(source: TreeSha256ClaimError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TreeSha256ClaimError
impl PartialEq for TreeSha256ClaimError
impl StructuralPartialEq for TreeSha256ClaimError
Auto Trait Implementations§
impl Freeze for TreeSha256ClaimError
impl RefUnwindSafe for TreeSha256ClaimError
impl Send for TreeSha256ClaimError
impl Sync for TreeSha256ClaimError
impl Unpin for TreeSha256ClaimError
impl UnsafeUnpin for TreeSha256ClaimError
impl UnwindSafe for TreeSha256ClaimError
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