pub enum ServerMockerErrorFatality {
Fatal,
NonFatal,
}Expand description
Represents the fatalities of a server mocker error.
Variants§
Fatal
The error is fatal, the server mocker will stop.
NonFatal
The error is not fatal, the server mocker will continue.
Implementations§
Trait Implementations§
source§impl Clone for ServerMockerErrorFatality
impl Clone for ServerMockerErrorFatality
source§fn clone(&self) -> ServerMockerErrorFatality
fn clone(&self) -> ServerMockerErrorFatality
Returns a copy of the value. Read more
1.6.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 ServerMockerErrorFatality
impl Debug for ServerMockerErrorFatality
source§impl Display for ServerMockerErrorFatality
impl Display for ServerMockerErrorFatality
Will display “Fatal” or “Non-fatal” depending on the error fatality.
impl Copy for ServerMockerErrorFatality
impl Eq for ServerMockerErrorFatality
impl StructuralPartialEq for ServerMockerErrorFatality
Auto Trait Implementations§
impl Freeze for ServerMockerErrorFatality
impl RefUnwindSafe for ServerMockerErrorFatality
impl Send for ServerMockerErrorFatality
impl Sync for ServerMockerErrorFatality
impl Unpin for ServerMockerErrorFatality
impl UnwindSafe for ServerMockerErrorFatality
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)