Enum spf_milter::LogDestination
source · pub enum LogDestination {
Syslog,
Stderr,
}
Expand description
The log destination.
Variants§
Trait Implementations§
source§impl Clone for LogDestination
impl Clone for LogDestination
source§fn clone(&self) -> LogDestination
fn clone(&self) -> LogDestination
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 LogDestination
impl Debug for LogDestination
source§impl Default for LogDestination
impl Default for LogDestination
source§fn default() -> LogDestination
fn default() -> LogDestination
Returns the “default value” for a type. Read more
source§impl FromStr for LogDestination
impl FromStr for LogDestination
source§impl Hash for LogDestination
impl Hash for LogDestination
source§impl PartialEq<LogDestination> for LogDestination
impl PartialEq<LogDestination> for LogDestination
source§fn eq(&self, other: &LogDestination) -> bool
fn eq(&self, other: &LogDestination) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LogDestination
impl Eq for LogDestination
impl StructuralEq for LogDestination
impl StructuralPartialEq for LogDestination
Auto Trait Implementations§
impl RefUnwindSafe for LogDestination
impl Send for LogDestination
impl Sync for LogDestination
impl Unpin for LogDestination
impl UnwindSafe for LogDestination
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
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<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
§fn try_octets_into(
self
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
§fn octets_into(self) -> Targetwhere
Self::Error: Into<Infallible>,
fn octets_into(self) -> Targetwhere Self::Error: Into<Infallible>,
Performs an infallible conversion.