Struct cosmic_space::particle::traversal::Traversal
source · 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: Pointpayload: Wrecord: ParticleRecordlayer: Layerdest: Option<Layer>logger: SpanLoggerdir: TraversalDirectionto: SurfaceImplementations
sourceimpl 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
sourceimpl<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> !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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
sourcefn 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
sourceimpl<I> RecreateContext<I> for I
impl<I> RecreateContext<I> for I
sourcefn 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