pub enum SessionSelector {
Id(usize),
Name(String),
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SessionSelector
impl Clone for SessionSelector
Source§fn clone(&self) -> SessionSelector
fn clone(&self) -> SessionSelector
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 SessionSelector
impl Debug for SessionSelector
Source§impl Display for SessionSelector
impl Display for SessionSelector
Auto Trait Implementations§
impl Freeze for SessionSelector
impl RefUnwindSafe for SessionSelector
impl Send for SessionSelector
impl Sync for SessionSelector
impl Unpin for SessionSelector
impl UnwindSafe for SessionSelector
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