Enum spf_milter::SyslogFacility
source · pub enum SyslogFacility {
Show 20 variants
Auth,
Authpriv,
Cron,
Daemon,
Ftp,
Kern,
Local0,
Local1,
Local2,
Local3,
Local4,
Local5,
Local6,
Local7,
Lpr,
Mail,
News,
Syslog,
User,
Uucp,
}
Expand description
The syslog facility.
Variants§
Auth
Authpriv
Cron
Daemon
Ftp
Kern
Local0
Local1
Local2
Local3
Local4
Local5
Local6
Local7
Lpr
News
Syslog
User
Uucp
Trait Implementations§
source§impl Clone for SyslogFacility
impl Clone for SyslogFacility
source§fn clone(&self) -> SyslogFacility
fn clone(&self) -> SyslogFacility
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 SyslogFacility
impl Debug for SyslogFacility
source§impl Default for SyslogFacility
impl Default for SyslogFacility
source§fn default() -> SyslogFacility
fn default() -> SyslogFacility
Returns the “default value” for a type. Read more
source§impl From<SyslogFacility> for Facility
impl From<SyslogFacility> for Facility
source§fn from(syslog_facility: SyslogFacility) -> Self
fn from(syslog_facility: SyslogFacility) -> Self
Converts to this type from the input type.
source§impl FromStr for SyslogFacility
impl FromStr for SyslogFacility
source§impl Hash for SyslogFacility
impl Hash for SyslogFacility
source§impl PartialEq<SyslogFacility> for SyslogFacility
impl PartialEq<SyslogFacility> for SyslogFacility
source§fn eq(&self, other: &SyslogFacility) -> bool
fn eq(&self, other: &SyslogFacility) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SyslogFacility
impl Eq for SyslogFacility
impl StructuralEq for SyslogFacility
impl StructuralPartialEq for SyslogFacility
Auto Trait Implementations§
impl RefUnwindSafe for SyslogFacility
impl Send for SyslogFacility
impl Sync for SyslogFacility
impl Unpin for SyslogFacility
impl UnwindSafe for SyslogFacility
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.