Enum witchcraft_server::logging::api::AuditProducer
source · pub enum AuditProducer {
Server,
Client,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for AuditProducer
impl Clone for AuditProducer
source§fn clone(&self) -> AuditProducer
fn clone(&self) -> AuditProducer
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 AuditProducer
impl Debug for AuditProducer
source§impl<'de> Deserialize<'de> for AuditProducer
impl<'de> Deserialize<'de> for AuditProducer
source§fn deserialize<D>(d: D) -> Result<AuditProducer, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<AuditProducer, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for AuditProducer
impl Display for AuditProducer
source§impl FromPlain for AuditProducer
impl FromPlain for AuditProducer
§type Err = ParseEnumError
type Err = ParseEnumError
The error type returned when parsing fails.
source§fn from_plain(v: &str) -> Result<AuditProducer, ParseEnumError>
fn from_plain(v: &str) -> Result<AuditProducer, ParseEnumError>
Parse a value from its Conjure PLAIN string representation.
source§impl FromStr for AuditProducer
impl FromStr for AuditProducer
§type Err = ParseEnumError
type Err = ParseEnumError
The associated error which can be returned from parsing.
source§fn from_str(v: &str) -> Result<AuditProducer, ParseEnumError>
fn from_str(v: &str) -> Result<AuditProducer, ParseEnumError>
Parses a string
s to return a value of this type. Read moresource§impl Hash for AuditProducer
impl Hash for AuditProducer
source§impl Ord for AuditProducer
impl Ord for AuditProducer
source§fn cmp(&self, other: &AuditProducer) -> Ordering
fn cmp(&self, other: &AuditProducer) -> 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 AuditProducer
impl PartialEq for AuditProducer
source§fn eq(&self, other: &AuditProducer) -> bool
fn eq(&self, other: &AuditProducer) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for AuditProducer
impl PartialOrd for AuditProducer
source§fn partial_cmp(&self, other: &AuditProducer) -> Option<Ordering>
fn partial_cmp(&self, other: &AuditProducer) -> 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 moresource§impl Plain for AuditProducer
impl Plain for AuditProducer
source§impl Serialize for AuditProducer
impl Serialize for AuditProducer
impl Eq for AuditProducer
impl StructuralEq for AuditProducer
impl StructuralPartialEq for AuditProducer
Auto Trait Implementations§
impl RefUnwindSafe for AuditProducer
impl Send for AuditProducer
impl Sync for AuditProducer
impl Unpin for AuditProducer
impl UnwindSafe for AuditProducer
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
§impl<T> Indentable for Twhere
T: Display,
impl<T> Indentable for Twhere
T: Display,
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