Struct reachability_core::ApplicationState
source · pub struct ApplicationState {
pub dns_resolved: bool,
pub http_fetch_succeeded: bool,
}
Expand description
ApplicationState
represents the layer 7 state
Fields§
§dns_resolved: bool
§http_fetch_succeeded: bool
Trait Implementations§
source§impl Clone for ApplicationState
impl Clone for ApplicationState
source§fn clone(&self) -> ApplicationState
fn clone(&self) -> ApplicationState
Returns a copy 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 ApplicationState
impl Debug for ApplicationState
source§impl Default for ApplicationState
impl Default for ApplicationState
source§fn default() -> ApplicationState
fn default() -> ApplicationState
Returns the “default value” for a type. Read more
source§impl Ord for ApplicationState
impl Ord for ApplicationState
source§fn cmp(&self, other: &ApplicationState) -> Ordering
fn cmp(&self, other: &ApplicationState) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ApplicationState
impl PartialEq for ApplicationState
source§fn eq(&self, other: &ApplicationState) -> bool
fn eq(&self, other: &ApplicationState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ApplicationState
impl PartialOrd for ApplicationState
source§fn partial_cmp(&self, other: &ApplicationState) -> Option<Ordering>
fn partial_cmp(&self, other: &ApplicationState) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ApplicationState
impl Eq for ApplicationState
impl StructuralPartialEq for ApplicationState
Auto Trait Implementations§
impl Freeze for ApplicationState
impl RefUnwindSafe for ApplicationState
impl Send for ApplicationState
impl Sync for ApplicationState
impl Unpin for ApplicationState
impl UnwindSafe for ApplicationState
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
§impl<T> Encode<Ambiguous1> for T
impl<T> Encode<Ambiguous1> for T
§impl<T> Encode<Ambiguous2> for T
impl<T> Encode<Ambiguous2> for 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>
§impl<T> IntoAny for T
impl<T> IntoAny for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.