#[non_exhaustive]pub enum KappaError {
BufferTooSmall {
needed: usize,
offered: usize,
},
MalformedDigest,
NotAddressable,
}Expand description
The manifest could not be rendered or addressed.
Neither variant can be caused by the values in a matrix, only by a
manifest that does not describe an artifact. Like [uor_matmul_core:: NotAProduct], this is non-existence, decided before any arithmetic.
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.
BufferTooSmall
The caller’s buffer is too small for the canonical JSON.
MalformedDigest
A digest field is not a sha256:<64hex> string.
NotAddressable
The addressing transform rejected the manifest.
Trait Implementations§
Source§impl Clone for KappaError
impl Clone for KappaError
Source§fn clone(&self) -> KappaError
fn clone(&self) -> KappaError
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 moreimpl Copy for KappaError
Source§impl Debug for KappaError
impl Debug for KappaError
Source§impl Display for KappaError
impl Display for KappaError
impl Eq for KappaError
Source§impl PartialEq for KappaError
impl PartialEq for KappaError
impl StructuralPartialEq for KappaError
Auto Trait Implementations§
impl Freeze for KappaError
impl RefUnwindSafe for KappaError
impl Send for KappaError
impl Sync for KappaError
impl Unpin for KappaError
impl UnsafeUnpin for KappaError
impl UnwindSafe for KappaError
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