Enum afire::error::StartupError
source · pub enum StartupError {
InvalidIp,
NoState,
InvalidSocketTimeout,
}
Expand description
Errors that can occur while starting the server
Variants§
InvalidIp
The IP address specified is invalid
NoState
No state was specified, but a route requires it
InvalidSocketTimeout
The socket timeout specified is invalid (must be greater than 0)
Trait Implementations§
source§impl Clone for StartupError
impl Clone for StartupError
source§fn clone(&self) -> StartupError
fn clone(&self) -> StartupError
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 StartupError
impl Debug for StartupError
source§impl Display for StartupError
impl Display for StartupError
source§impl From<StartupError> for Error
impl From<StartupError> for Error
source§fn from(e: StartupError) -> Self
fn from(e: StartupError) -> Self
Converts to this type from the input type.
source§impl PartialEq<StartupError> for StartupError
impl PartialEq<StartupError> for StartupError
source§fn eq(&self, other: &StartupError) -> bool
fn eq(&self, other: &StartupError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StartupError
impl StructuralEq for StartupError
impl StructuralPartialEq for StartupError
Auto Trait Implementations§
impl RefUnwindSafe for StartupError
impl Send for StartupError
impl Sync for StartupError
impl Unpin for StartupError
impl UnwindSafe for StartupError
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