Enum session_manager_lib::startup::StartupError
source · pub enum StartupError {
NotDestroyed {
name: String,
collection: String,
err: Error,
},
NotCreated {
name: String,
collection: String,
url: String,
err: Error,
},
ExposedDirNotOpened {
name: String,
collection: String,
url: String,
err: Error,
},
NotLaunched {
name: String,
collection: String,
url: String,
err: Error,
},
NotRunning,
}
Expand description
Errors returned by calls startup functions.
Variants§
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 Error for StartupError
impl Error for StartupError
1.30.0 · 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 Into<LaunchError> for StartupError
impl Into<LaunchError> for StartupError
source§fn into(self) -> LaunchError
fn into(self) -> LaunchError
Converts this type into the (usually inferred) input type.
source§impl Into<LifecycleError> for StartupError
impl Into<LifecycleError> for StartupError
source§fn into(self) -> LifecycleError
fn into(self) -> LifecycleError
Converts this type into the (usually inferred) input type.
source§impl Into<RestartError> for StartupError
impl Into<RestartError> for StartupError
source§fn into(self) -> RestartError
fn into(self) -> RestartError
Converts this type into the (usually inferred) input type.
source§impl PartialEq for StartupError
impl PartialEq 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 StructuralPartialEq for StartupError
Auto Trait Implementations§
impl Freeze for StartupError
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