pub enum SearchDirection {
BackwardFirst,
ForwardFirst,
BackwardOnly,
ForwardOnly,
}Expand description
Preferred search direction when looking for related traces
Variants§
BackwardFirst
Search backward first (previous traces), then forward
ForwardFirst
Search forward first (next traces), then backward
BackwardOnly
Only search backward
ForwardOnly
Only search forward
Implementations§
Source§impl SearchDirection
impl SearchDirection
Sourcepub fn from_direction(direction: &Direction) -> Self
pub fn from_direction(direction: &Direction) -> Self
Determine preferred direction based on trace direction UL messages: parent likely before (decapsulation happened) DL messages: parent likely after (encapsulation will happen)
Trait Implementations§
Source§impl Clone for SearchDirection
impl Clone for SearchDirection
Source§fn clone(&self) -> SearchDirection
fn clone(&self) -> SearchDirection
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 SearchDirection
impl Debug for SearchDirection
Source§impl Default for SearchDirection
impl Default for SearchDirection
Source§fn default() -> SearchDirection
fn default() -> SearchDirection
Returns the “default value” for a type. Read more
Source§impl PartialEq for SearchDirection
impl PartialEq for SearchDirection
impl Copy for SearchDirection
impl StructuralPartialEq for SearchDirection
Auto Trait Implementations§
impl Freeze for SearchDirection
impl RefUnwindSafe for SearchDirection
impl Send for SearchDirection
impl Sync for SearchDirection
impl Unpin for SearchDirection
impl UnwindSafe for SearchDirection
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