pub enum NavigationTrigger {
Unknown,
LinkClick,
Back,
Forward,
AddressBarEntry,
PanePromotion,
Programmatic,
Redirect,
ReopenSession,
JumpAnchor,
InPageSearchJump,
ImportedHistory,
}Expand description
Trigger classification for a traversal event.
Expanded per the 2026-05-11 relation-taxonomy-and-edge-mutation
plan §2: Traversal stays the one family without sub-kinds;
temporal nuance instead lives here in the trigger vocabulary.
Five additions to cover the cases the prior plan called out:
HTTP / meta redirects, session-restore navigations, in-document
fragment jumps, find-in-page-style jumps, and imported-history
hypotheses.
Variants§
Unknown
LinkClick
Back
Forward
AddressBarEntry
PanePromotion
Programmatic
Redirect
Server redirect (3xx) or meta-refresh — the user didn’t directly initiate this hop.
ReopenSession
Navigation re-issued by a session restore (window reopen, “restore previous tabs,” persisted-session rehydration).
JumpAnchor
In-document anchor jump (fragment / #section) — same
document, scroll destination changes.
InPageSearchJump
“Find in page” or analogous within-document search jumps that surface as a navigation event.
ImportedHistory
Imported from another browser’s history database. Distinct
from Unknown so importers can tag confidence-bounded
traversal hypotheses without conflating them with native
user navigation.
Trait Implementations§
Source§type Archived = ArchivedNavigationTrigger
type Archived = ArchivedNavigationTrigger
Source§type Resolver = NavigationTriggerResolver
type Resolver = NavigationTriggerResolver
Source§fn resolve(
&self,
resolver: <Self as Archive>::Resolver,
out: Place<<Self as Archive>::Archived>,
)
fn resolve( &self, resolver: <Self as Archive>::Resolver, out: Place<<Self as Archive>::Archived>, )
Source§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
serialize. Read moreSource§fn clone(&self) -> NavigationTrigger
fn clone(&self) -> NavigationTrigger
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§fn deserialize(
&self,
deserializer: &mut __D,
) -> Result<NavigationTrigger, <__D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut __D, ) -> Result<NavigationTrigger, <__D as Fallible>::Error>
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Source§impl<T> ArchiveUnsized for Twhere
T: Archive,
impl<T> ArchiveUnsized for Twhere
T: Archive,
Source§type Archived = <T as Archive>::Archived
type Archived = <T as Archive>::Archived
Archive, it may be
unsized. Read moreSource§fn archived_metadata(
&self,
) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
fn archived_metadata( &self, ) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
impl<T> MemoryPayload for T
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.