pub enum TapType {
None,
UnPriv,
Priv,
OldLog,
CustomLog,
LocalFile,
NetUdp,
NetTcp,
NetTls,
}
Expand description
An enum of types of the current syslog tap instance.
Variants§
None
Not defined
UnPriv
Unprivileged socket used
Priv
Privileged socket used
OldLog
A compatibility socket used
CustomLog
Custom unix datagram
LocalFile
Writing to file directly
NetUdp
Network UDP
NetTcp
Network TCP
NetTls
Network TLS over TCP
Trait Implementations§
impl Copy for TapType
impl Eq for TapType
impl StructuralPartialEq for TapType
Auto Trait Implementations§
impl Freeze for TapType
impl RefUnwindSafe for TapType
impl Send for TapType
impl Sync for TapType
impl Unpin for TapType
impl UnwindSafe for TapType
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