pub struct Tracer { /* private fields */ }
Implementations
sourceimpl Tracer
impl Tracer
pub async fn new(bind: &Bind) -> Result<Self>
pub async fn route(&self, trace: Trace) -> Result<Vec<Vec<Node>>>
pub fn trace<'a>(
&'a self,
probe: &'a mut Probe,
count: usize,
expiry: Duration
) -> impl Stream<Item = Result<Vec<Node>>> + 'a
pub fn probe<'a>(
&'a self,
probe: &'a mut Probe,
ttl: u8,
expiry: Duration
) -> impl Stream<Item = Result<Node>> + 'a
pub async fn reserve(&self, proto: Protocol, addr: IpAddr) -> Result<Lease<'_>>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Tracer
impl Send for Tracer
impl Sync for Tracer
impl Unpin for Tracer
impl !UnwindSafe for Tracer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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