pub enum BarrierRuntimeError {
AlreadyActive(BarrierId),
NoActiveBarrier,
EmptyScope(BarrierScope),
NotFrozen(BarrierState),
MissingStation(StationId),
}Expand description
Runtime barrier execution error.
Variants§
AlreadyActive(BarrierId)
A barrier is already active.
NoActiveBarrier
No barrier is active.
EmptyScope(BarrierScope)
Barrier scope matched no stations.
NotFrozen(BarrierState)
Requested operation requires frozen state.
MissingStation(StationId)
A station covered by the barrier is missing.
Trait Implementations§
Source§impl Clone for BarrierRuntimeError
impl Clone for BarrierRuntimeError
Source§fn clone(&self) -> BarrierRuntimeError
fn clone(&self) -> BarrierRuntimeError
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 BarrierRuntimeError
Source§impl Debug for BarrierRuntimeError
impl Debug for BarrierRuntimeError
Source§impl Display for BarrierRuntimeError
impl Display for BarrierRuntimeError
impl Eq for BarrierRuntimeError
Source§impl Error for BarrierRuntimeError
impl Error for BarrierRuntimeError
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 From<BarrierRuntimeError> for BarrierUpgradeError
impl From<BarrierRuntimeError> for BarrierUpgradeError
Source§fn from(value: BarrierRuntimeError) -> Self
fn from(value: BarrierRuntimeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BarrierRuntimeError
impl PartialEq for BarrierRuntimeError
impl StructuralPartialEq for BarrierRuntimeError
Auto Trait Implementations§
impl Freeze for BarrierRuntimeError
impl RefUnwindSafe for BarrierRuntimeError
impl Send for BarrierRuntimeError
impl Sync for BarrierRuntimeError
impl Unpin for BarrierRuntimeError
impl UnsafeUnpin for BarrierRuntimeError
impl UnwindSafe for BarrierRuntimeError
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