#[repr(i32)]
pub enum TestMode {
Unknown,
Consumer,
Provider,
}Expand description
The mode of the generation, if running from a consumer test or during provider verification
Variants§
Implementations§
Trait Implementations§
source§impl Ord for TestMode
impl Ord for TestMode
source§impl PartialOrd<TestMode> for TestMode
impl PartialOrd<TestMode> for TestMode
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 TestMode
impl Eq for TestMode
impl StructuralEq for TestMode
impl StructuralPartialEq for TestMode
Auto Trait Implementations§
impl RefUnwindSafe for TestMode
impl Send for TestMode
impl Sync for TestMode
impl Unpin for TestMode
impl UnwindSafe for TestMode
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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>
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>
Wrap the input message
T in a tonic::Request