Struct witchcraft_server::readiness::ReadinessCheckResult
source · pub struct ReadinessCheckResult { /* private fields */ }Expand description
The result of a readiness check.
Implementations§
source§impl ReadinessCheckResult
impl ReadinessCheckResult
sourcepub fn builder() -> BuilderSuccessfulStage
pub fn builder() -> BuilderSuccessfulStage
Returns a new builder.
source§impl ReadinessCheckResult
impl ReadinessCheckResult
sourcepub fn successful(&self) -> bool
pub fn successful(&self) -> bool
The success of the check.
Trait Implementations§
source§impl Clone for ReadinessCheckResult
impl Clone for ReadinessCheckResult
source§fn clone(&self) -> ReadinessCheckResult
fn clone(&self) -> ReadinessCheckResult
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 ReadinessCheckResult
impl Debug for ReadinessCheckResult
source§impl Hash for ReadinessCheckResult
impl Hash for ReadinessCheckResult
source§impl Ord for ReadinessCheckResult
impl Ord for ReadinessCheckResult
source§fn cmp(&self, other: &ReadinessCheckResult) -> Ordering
fn cmp(&self, other: &ReadinessCheckResult) -> 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 ReadinessCheckResult
impl PartialEq for ReadinessCheckResult
source§fn eq(&self, other: &ReadinessCheckResult) -> bool
fn eq(&self, other: &ReadinessCheckResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ReadinessCheckResult
impl PartialOrd for ReadinessCheckResult
source§fn partial_cmp(&self, other: &ReadinessCheckResult) -> Option<Ordering>
fn partial_cmp(&self, other: &ReadinessCheckResult) -> 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 Eq for ReadinessCheckResult
impl StructuralEq for ReadinessCheckResult
impl StructuralPartialEq for ReadinessCheckResult
Auto Trait Implementations§
impl RefUnwindSafe for ReadinessCheckResult
impl Send for ReadinessCheckResult
impl Sync for ReadinessCheckResult
impl Unpin for ReadinessCheckResult
impl UnwindSafe for ReadinessCheckResult
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
§fn extract_context(self, _original_input: I)
fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original
input to the nom parser, extract more the useful context information. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<I> RecreateContext<I> for I
impl<I> RecreateContext<I> for I
§fn recreate_context(_original_input: I, tail: I) -> I
fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom,
recreate a context in the original string where the error occurred. Read more