pub enum Axis {
Show 17 variants
Document,
Head,
Title,
Url,
RouteOps,
Focus,
Scroll,
Selection,
Clipboard,
Downloads,
Notifications,
Published,
Storage,
Fetches,
Journal,
Failure,
Stopped,
}Expand description
One observable property of a page. A divergence is reported per axis, so a ledger can name exactly which part of the page two tiers disagree about — and a second, unrelated divergence on the same page cannot hide behind the first.
Variants§
Document
The rendered body.
Head
The document’s <head>: the shell the page arrived in, with the page’s own Head: merged
over it.
Title
document.title.
Url
The location path.
RouteOps
Every navigation, in order (push /x, replace /y, load /z).
Focus
The focused element.
Scroll
The element last scrolled to.
Selection
The element whose text was last selected.
Clipboard
What the page put on the clipboard.
Downloads
Files the page offered for download.
Notifications
Notifications the page raised.
Published
Frames the page published on a relay topic.
Storage
Browser storage, both areas.
Fetches
Every request the page sent (method, URL, body, headers, timeout, abort).
Journal
The actions that have run, in order — what the journal answers.
Failure
The first action failure no handler absorbed — the program’s error once the run ends.
Stopped
Where the scenario stopped, and why. Not a snapshot field: a trace carries it.
Implementations§
Trait Implementations§
Source§impl Ord for Axis
impl Ord for Axis
Source§impl PartialOrd for Axis
impl PartialOrd for Axis
impl Copy for Axis
impl Eq for Axis
impl StructuralPartialEq for Axis
Auto Trait Implementations§
impl Freeze for Axis
impl RefUnwindSafe for Axis
impl Send for Axis
impl Sync for Axis
impl Unpin for Axis
impl UnsafeUnpin for Axis
impl UnwindSafe for Axis
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.