pub enum BundleConfigError {
MissingCellId,
MissingArgv,
}Expand description
Generator error. Kept simple and self-describing; surfaced verbatim
in the supervisor’s CellosError::Backend wrapping at the call site
(backend::GVisorCellBackend::create).
We hand-roll Display / Error (no thiserror dep) to keep the
gVisor skeleton crate’s transitive dependency surface minimal — the
backend has only two failure modes at the bundle layer, both static.
Variants§
Trait Implementations§
Source§impl Clone for BundleConfigError
impl Clone for BundleConfigError
Source§fn clone(&self) -> BundleConfigError
fn clone(&self) -> BundleConfigError
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 BundleConfigError
impl Debug for BundleConfigError
Source§impl Display for BundleConfigError
impl Display for BundleConfigError
Source§impl Error for BundleConfigError
impl Error for BundleConfigError
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 BundleConfigError
impl PartialEq for BundleConfigError
Source§fn eq(&self, other: &BundleConfigError) -> bool
fn eq(&self, other: &BundleConfigError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BundleConfigError
impl StructuralPartialEq for BundleConfigError
Auto Trait Implementations§
impl Freeze for BundleConfigError
impl RefUnwindSafe for BundleConfigError
impl Send for BundleConfigError
impl Sync for BundleConfigError
impl Unpin for BundleConfigError
impl UnsafeUnpin for BundleConfigError
impl UnwindSafe for BundleConfigError
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