Struct google_api_proto::google::cloud::networkmanagement::v1beta1::ProbingDetails
source · pub struct ProbingDetails {
pub result: i32,
pub verify_time: Option<Timestamp>,
pub error: Option<Status>,
pub abort_cause: i32,
pub sent_probe_count: i32,
pub successful_probe_count: i32,
pub endpoint_info: Option<EndpointInfo>,
pub probing_latency: Option<LatencyDistribution>,
pub destination_egress_location: Option<EdgeLocation>,
}
Expand description
Results of active probing from the last run of the test.
Fields§
§result: i32
The overall result of active probing.
verify_time: Option<Timestamp>
The time that reachability was assessed through active probing.
error: Option<Status>
Details about an internal failure or the cancellation of active probing.
abort_cause: i32
The reason probing was aborted.
sent_probe_count: i32
Number of probes sent.
successful_probe_count: i32
Number of probes that reached the destination.
endpoint_info: Option<EndpointInfo>
The source and destination endpoints derived from the test input and used for active probing.
probing_latency: Option<LatencyDistribution>
Latency as measured by active probing in one direction: from the source to the destination endpoint.
destination_egress_location: Option<EdgeLocation>
The EdgeLocation from which a packet destined for/originating from the internet will egress/ingress the Google network. This will only be populated for a connectivity test which has an internet destination/source address. The absence of this field must not be used as an indication that the destination/source is part of the Google network.
Implementations§
source§impl ProbingDetails
impl ProbingDetails
sourcepub fn result(&self) -> ProbingResult
pub fn result(&self) -> ProbingResult
Returns the enum value of result
, or the default if the field is set to an invalid enum value.
sourcepub fn set_result(&mut self, value: ProbingResult)
pub fn set_result(&mut self, value: ProbingResult)
Sets result
to the provided enum value.
sourcepub fn abort_cause(&self) -> ProbingAbortCause
pub fn abort_cause(&self) -> ProbingAbortCause
Returns the enum value of abort_cause
, or the default if the field is set to an invalid enum value.
sourcepub fn set_abort_cause(&mut self, value: ProbingAbortCause)
pub fn set_abort_cause(&mut self, value: ProbingAbortCause)
Sets abort_cause
to the provided enum value.
Trait Implementations§
source§impl Clone for ProbingDetails
impl Clone for ProbingDetails
source§fn clone(&self) -> ProbingDetails
fn clone(&self) -> ProbingDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProbingDetails
impl Debug for ProbingDetails
source§impl Default for ProbingDetails
impl Default for ProbingDetails
source§impl Message for ProbingDetails
impl Message for ProbingDetails
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ProbingDetails
impl PartialEq for ProbingDetails
source§fn eq(&self, other: &ProbingDetails) -> bool
fn eq(&self, other: &ProbingDetails) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProbingDetails
Auto Trait Implementations§
impl Freeze for ProbingDetails
impl RefUnwindSafe for ProbingDetails
impl Send for ProbingDetails
impl Sync for ProbingDetails
impl Unpin for ProbingDetails
impl UnwindSafe for ProbingDetails
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
§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>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request