#[non_exhaustive]pub enum ChildRunError {
Authority(AuthorityAmplification),
BudgetReservation(BudgetReservationMismatch),
}Expand description
Failure to create a capability-attenuated child Run.
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.
Authority(AuthorityAmplification)
The child requested authority absent from its parent.
BudgetReservation(BudgetReservationMismatch)
The budget reservation belongs to another run tree.
Trait Implementations§
Source§impl Clone for ChildRunError
impl Clone for ChildRunError
Source§fn clone(&self) -> ChildRunError
fn clone(&self) -> ChildRunError
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 ChildRunError
impl Debug for ChildRunError
Source§impl Display for ChildRunError
impl Display for ChildRunError
impl Eq for ChildRunError
Source§impl Error for ChildRunError
impl Error for ChildRunError
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<AuthorityAmplification> for ChildRunError
impl From<AuthorityAmplification> for ChildRunError
Source§fn from(source: AuthorityAmplification) -> Self
fn from(source: AuthorityAmplification) -> Self
Converts to this type from the input type.
Source§impl From<BudgetReservationMismatch> for ChildRunError
impl From<BudgetReservationMismatch> for ChildRunError
Source§fn from(source: BudgetReservationMismatch) -> Self
fn from(source: BudgetReservationMismatch) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChildRunError
impl PartialEq for ChildRunError
impl StructuralPartialEq for ChildRunError
Auto Trait Implementations§
impl Freeze for ChildRunError
impl RefUnwindSafe for ChildRunError
impl Send for ChildRunError
impl Sync for ChildRunError
impl Unpin for ChildRunError
impl UnsafeUnpin for ChildRunError
impl UnwindSafe for ChildRunError
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