pub enum TargetSession<'a> {
Id(usize),
ExactName(&'a str),
StartName(&'a str),
FnMatch(&'a str),
Raw(&'a str),
}
Expand description
Enum for possible target-session
variants
Variants§
Id(usize)
id ($id) instead of name
ExactName(&'a str)
exact name (=name)
StartName(&'a str)
start of a name
FnMatch(&'a str)
fn_match
Raw(&'a str)
manual define full name
Implementations§
Trait Implementations§
source§impl<'a> Debug for TargetSession<'a>
impl<'a> Debug for TargetSession<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for TargetSession<'a>
impl<'a> Send for TargetSession<'a>
impl<'a> Sync for TargetSession<'a>
impl<'a> Unpin for TargetSession<'a>
impl<'a> UnwindSafe for TargetSession<'a>
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