Enum muzzman_daemon::prelude::SessionError
source · pub enum SessionError {
Show 17 variants
InvalidSession,
ElementDoNotExist,
InsufficientPermissions,
InvalidLocation,
ServerTimeOut,
CannotConnectToServer,
ServerInvalidIndentification,
InvalidElementStatus,
LocationAllreadyExist,
InvalidModule,
CannotInstallModule(String),
AlreadySubscribed,
AlreadyUnsubscribed,
IsNotElement,
IsNotLocation,
RawModule(RawLibraryError),
Custom(String),
}Variants§
InvalidSession
ElementDoNotExist
InsufficientPermissions
InvalidLocation
ServerTimeOut
CannotConnectToServer
ServerInvalidIndentification
InvalidElementStatus
LocationAllreadyExist
InvalidModule
CannotInstallModule(String)
AlreadySubscribed
AlreadyUnsubscribed
IsNotElement
IsNotLocation
RawModule(RawLibraryError)
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<SessionError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SessionError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for SessionError
impl Serialize for SessionError
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more