pub enum ContainerError {
MissingSegment(&'static str),
TooLarge {
size: u64,
},
InvalidConfig(&'static str),
SignatureInvalid,
InsufficientAuthority {
required: u8,
granted: u8,
},
BudgetExhausted(&'static str),
}Expand description
Error type for AGI container operations.
Variants§
MissingSegment(&'static str)
A required segment is missing.
TooLarge
Container exceeds size limit.
InvalidConfig(&'static str)
Invalid segment configuration.
SignatureInvalid
Signature verification failed.
InsufficientAuthority
Authority level insufficient for the requested action.
BudgetExhausted(&'static str)
Resource budget exceeded.
Trait Implementations§
Source§impl Debug for ContainerError
impl Debug for ContainerError
Source§impl Display for ContainerError
impl Display for ContainerError
Source§impl PartialEq for ContainerError
impl PartialEq for ContainerError
impl Eq for ContainerError
impl StructuralPartialEq for ContainerError
Auto Trait Implementations§
impl Freeze for ContainerError
impl RefUnwindSafe for ContainerError
impl Send for ContainerError
impl Sync for ContainerError
impl Unpin for ContainerError
impl UnsafeUnpin for ContainerError
impl UnwindSafe for ContainerError
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