Enum distant_net::server::ShutdownParseError
source · pub enum ShutdownParseError {
BadValueForAfter(ParseFloatError),
BadValueForLonely(ParseFloatError),
MissingKey,
UnknownKey,
}Expand description
Parsing errors that can occur for Shutdown
Variants§
Trait Implementations§
source§impl Clone for ShutdownParseError
impl Clone for ShutdownParseError
source§fn clone(&self) -> ShutdownParseError
fn clone(&self) -> ShutdownParseError
Returns a copy 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 ShutdownParseError
impl Debug for ShutdownParseError
source§impl Display for ShutdownParseError
impl Display for ShutdownParseError
source§impl Error for ShutdownParseError
impl Error for ShutdownParseError
source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq<ShutdownParseError> for ShutdownParseError
impl PartialEq<ShutdownParseError> for ShutdownParseError
source§fn eq(&self, other: &ShutdownParseError) -> bool
fn eq(&self, other: &ShutdownParseError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ShutdownParseError
impl StructuralEq for ShutdownParseError
impl StructuralPartialEq for ShutdownParseError
Auto Trait Implementations§
impl RefUnwindSafe for ShutdownParseError
impl Send for ShutdownParseError
impl Sync for ShutdownParseError
impl Unpin for ShutdownParseError
impl UnwindSafe for ShutdownParseError
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