pub enum ProgramStop {
ResourceRefused(ResourceFailure),
Cancelled,
}Variants§
ResourceRefused(ResourceFailure)
Cancelled
Trait Implementations§
Source§impl Clone for ProgramStop
impl Clone for ProgramStop
Source§fn clone(&self) -> ProgramStop
fn clone(&self) -> ProgramStop
Returns a duplicate of the value. Read more
1.0.0 · 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 ProgramStop
impl Debug for ProgramStop
Source§impl Display for ProgramStop
impl Display for ProgramStop
Source§impl Error for ProgramStop
impl Error for ProgramStop
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 ProgramStop
impl PartialEq for ProgramStop
impl Copy for ProgramStop
impl Eq for ProgramStop
impl StructuralPartialEq for ProgramStop
Auto Trait Implementations§
impl Freeze for ProgramStop
impl RefUnwindSafe for ProgramStop
impl Send for ProgramStop
impl Sync for ProgramStop
impl Unpin for ProgramStop
impl UnwindSafe for ProgramStop
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