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 duplicate 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
Auto Trait Implementations§
impl Freeze for SessionError
impl RefUnwindSafe for SessionError
impl Send for SessionError
impl Sync for SessionError
impl Unpin for SessionError
impl UnwindSafe for SessionError
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