Enum muzzman_lib::session::SessionError
source · pub enum SessionError {
Show 16 variants
InvalidSession,
ElementDoNotExist,
InsufficientPermissions,
InvalidLocation,
ServerTimeOut(RefLocation),
CannotConnectToServer,
ServerInvalidIndentification,
InvalidElementStatus,
LocationAllreadyExist,
InvalidModule,
CannotInstallModule(String),
AlreadySubscribed,
AlreadyUnsubscribed,
IsNotElement,
IsNotLocation,
Custom(String),
}
Variants§
InvalidSession
ElementDoNotExist
InsufficientPermissions
InvalidLocation
ServerTimeOut(RefLocation)
CannotConnectToServer
ServerInvalidIndentification
InvalidElementStatus
LocationAllreadyExist
InvalidModule
CannotInstallModule(String)
AlreadySubscribed
AlreadyUnsubscribed
IsNotElement
IsNotLocation
Custom(String)
Trait Implementations§
source§impl Clone for SessionError
impl Clone for SessionError
source§fn clone(&self) -> SessionError
fn clone(&self) -> SessionError
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 SessionError
impl Debug for SessionError
source§impl<'de> Deserialize<'de> for SessionError
impl<'de> Deserialize<'de> for SessionError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more