Enum shipyard::error::InvalidSystem
source · [−]pub enum InvalidSystem {
AllStorages,
MultipleViews,
MultipleViewsMut,
WorkloadUsedAsSystem(&'static str),
}
Expand description
Returned when trying to add an invalid system to a workload.
Variants
AllStorages
AllStorages
borrowed alongside another storage.
MultipleViews
Multiple views of the same storage including an exclusive one.
MultipleViewsMut
Multiple exclusive views for the same storage.
WorkloadUsedAsSystem(&'static str)
System returning Workload
Trait Implementations
sourceimpl Clone for InvalidSystem
impl Clone for InvalidSystem
sourcefn clone(&self) -> InvalidSystem
fn clone(&self) -> InvalidSystem
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InvalidSystem
impl Debug for InvalidSystem
sourceimpl Display for InvalidSystem
impl Display for InvalidSystem
sourceimpl Error for InvalidSystem
impl Error for InvalidSystem
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl PartialEq<InvalidSystem> for InvalidSystem
impl PartialEq<InvalidSystem> for InvalidSystem
sourcefn eq(&self, other: &InvalidSystem) -> bool
fn eq(&self, other: &InvalidSystem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InvalidSystem) -> bool
fn ne(&self, other: &InvalidSystem) -> bool
This method tests for !=
.
impl Copy for InvalidSystem
impl Eq for InvalidSystem
impl StructuralEq for InvalidSystem
impl StructuralPartialEq for InvalidSystem
Auto Trait Implementations
impl RefUnwindSafe for InvalidSystem
impl Send for InvalidSystem
impl Sync for InvalidSystem
impl Unpin for InvalidSystem
impl UnwindSafe for InvalidSystem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more