pub enum CalculatorEvent {
OnError {
status_code: u32,
},
_UnknownEvent {
ordinal: u64,
},
}
Variants§
Implementations§
Source§impl CalculatorEvent
impl CalculatorEvent
pub fn into_on_error(self) -> Option<u32>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CalculatorEvent
impl RefUnwindSafe for CalculatorEvent
impl Send for CalculatorEvent
impl Sync for CalculatorEvent
impl Unpin for CalculatorEvent
impl UnwindSafe for CalculatorEvent
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