pub enum TriggerLookupKey {
Component(String),
Trigger(String),
}
Expand description
An identifier that can be returned from a RouteMatch and used to look up the trigger that handles the route.
Variants§
Component(String)
The route is handled by the specified Wasm component.
Trigger(String)
The route is handled directly within the specified trigger.
Trait Implementations§
Source§impl Clone for TriggerLookupKey
impl Clone for TriggerLookupKey
Source§fn clone(&self) -> TriggerLookupKey
fn clone(&self) -> TriggerLookupKey
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 TriggerLookupKey
impl Debug for TriggerLookupKey
Source§impl Display for TriggerLookupKey
impl Display for TriggerLookupKey
Source§impl Hash for TriggerLookupKey
impl Hash for TriggerLookupKey
Source§impl PartialEq for TriggerLookupKey
impl PartialEq for TriggerLookupKey
impl Eq for TriggerLookupKey
impl StructuralPartialEq for TriggerLookupKey
Auto Trait Implementations§
impl Freeze for TriggerLookupKey
impl RefUnwindSafe for TriggerLookupKey
impl Send for TriggerLookupKey
impl Sync for TriggerLookupKey
impl Unpin for TriggerLookupKey
impl UnwindSafe for TriggerLookupKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.