pub enum SessionActionName {
SessionActions,
CreateSession,
CreateSessionFromMsg,
WithSessionKey,
RevokeSession,
}Variants§
Trait Implementations§
Source§impl AsRef<str> for SessionActionName
impl AsRef<str> for SessionActionName
Source§impl Display for SessionActionName
impl Display for SessionActionName
Source§impl FromStr for SessionActionName
impl FromStr for SessionActionName
Source§type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
Source§fn from_str(
s: &str,
) -> Result<SessionActionName, <SessionActionName as FromStr>::Err>
fn from_str( s: &str, ) -> Result<SessionActionName, <SessionActionName as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl IntoEnumIterator for SessionActionName
impl IntoEnumIterator for SessionActionName
type Iterator = SessionActionNameIter
fn iter() -> SessionActionNameIter ⓘ
Source§impl PartialEq for SessionActionName
impl PartialEq for SessionActionName
Source§impl TryFrom<&str> for SessionActionName
impl TryFrom<&str> for SessionActionName
Source§type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Source§fn try_from(
s: &str,
) -> Result<SessionActionName, <SessionActionName as TryFrom<&str>>::Error>
fn try_from( s: &str, ) -> Result<SessionActionName, <SessionActionName as TryFrom<&str>>::Error>
Performs the conversion.
impl StructuralPartialEq for SessionActionName
Auto Trait Implementations§
impl Freeze for SessionActionName
impl RefUnwindSafe for SessionActionName
impl Send for SessionActionName
impl Sync for SessionActionName
impl Unpin for SessionActionName
impl UnwindSafe for SessionActionName
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