struct QuotedProbe<'a> {
protocol: u8,
dst: Address,
id_field: u16,
transport: &'a [u8],
}Expand description
Fields recovered from the original (quoted) probe inside an ICMP error message.
Fields§
§protocol: u8IP protocol number of the quoted probe (1/58 ICMP, 17 UDP, 6 TCP).
dst: AddressDestination address of the quoted probe (the trace target).
id_field: u16Codec id field: IPv4 Identification, or the low 16 bits of the IPv6 flow label.
transport: &'a [u8]The quoted transport header — guaranteed to be at least 8 bytes.
Auto Trait Implementations§
impl<'a> Freeze for QuotedProbe<'a>
impl<'a> RefUnwindSafe for QuotedProbe<'a>
impl<'a> Send for QuotedProbe<'a>
impl<'a> Sync for QuotedProbe<'a>
impl<'a> Unpin for QuotedProbe<'a>
impl<'a> UnsafeUnpin for QuotedProbe<'a>
impl<'a> UnwindSafe for QuotedProbe<'a>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].