pub struct Traversal<W> {
pub point: Point,
pub payload: W,
pub record: ParticleRecord,
pub layer: Layer,
pub dest: Option<Layer>,
pub logger: SpanLogger,
pub dir: TraversalDirection,
pub to: Surface,
}Fields§
§point: Point§payload: W§record: ParticleRecord§layer: Layer§dest: Option<Layer>§logger: SpanLogger§dir: TraversalDirection§to: SurfaceImplementations§
Source§impl Traversal<UltraWave>
impl Traversal<UltraWave>
pub fn is_fabric_bound(&self) -> bool
pub fn is_core_bound(&self) -> bool
pub fn is_ping(&self) -> bool
pub fn is_pong(&self) -> bool
pub fn is_directed(&self) -> bool
pub fn is_reflected(&self) -> bool
pub fn unwrap_directed(self) -> Traversal<DirectedWave>
pub fn unwrap_singular_directed(self) -> Traversal<SingularDirectedWave>
pub fn unwrap_reflected(self) -> Traversal<ReflectedWave>
pub fn unwrap_ping(self) -> Traversal<Wave<Ping>>
pub fn unwrap_pong(self) -> Traversal<Wave<Pong>>
Trait Implementations§
Source§impl<W> Trackable for Traversal<W>where
W: Trackable,
impl<W> Trackable for Traversal<W>where
W: Trackable,
fn track_id(&self) -> String
fn track_method(&self) -> String
fn track_payload(&self) -> String
fn track_from(&self) -> String
fn track_to(&self) -> String
fn track(&self) -> bool
fn track_payload_fmt(&self) -> String
fn track_key_fmt(&self) -> String
fn track_fmt(&self, tracker: &Tracker) -> String
Auto Trait Implementations§
impl<W> Freeze for Traversal<W>where
W: Freeze,
impl<W> !RefUnwindSafe for Traversal<W>
impl<W> Send for Traversal<W>where
W: Send,
impl<W> Sync for Traversal<W>where
W: Sync,
impl<W> Unpin for Traversal<W>where
W: Unpin,
impl<W> !UnwindSafe for Traversal<W>
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<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
Source§fn extract_context(self, _original_input: I)
fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original
input to the nom parser, extract more the useful context information. Read more
Source§impl<I> RecreateContext<I> for I
impl<I> RecreateContext<I> for I
Source§fn recreate_context(_original_input: I, tail: I) -> I
fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom,
recreate a context in the original string where the error occurred. Read more