pub struct FormatFile(/* private fields */);Implementations§
Source§impl FormatFile
impl FormatFile
pub const FORMATTER_NAME: &'static str = "FILE"
Trait Implementations§
Source§impl Clone for FormatFile
impl Clone for FormatFile
Source§impl Debug for FormatFile
impl Debug for FormatFile
Source§impl From<&'static str> for FormatFile
impl From<&'static str> for FormatFile
Source§fn from(value: &'static str) -> FormatFile
fn from(value: &'static str) -> FormatFile
Converts to this type from the input type.
Source§impl From<String> for FormatFile
impl From<String> for FormatFile
Source§fn from(value: String) -> FormatFile
fn from(value: String) -> FormatFile
Converts to this type from the input type.
impl Send for FormatFile
Source§impl SyslogFormatter for FormatFile
impl SyslogFormatter for FormatFile
Source§fn vsyslog1_format(
&self,
max_msg_size: usize,
prifac: SyslogMsgPriFac,
progname: &str,
pid: Option<&str>,
) -> SyslogFormatted
fn vsyslog1_format( &self, max_msg_size: usize, prifac: SyslogMsgPriFac, progname: &str, pid: Option<&str>, ) -> SyslogFormatted
Formats the message for the syslog server with specific protocol or
RFC. Read more
Auto Trait Implementations§
impl Freeze for FormatFile
impl RefUnwindSafe for FormatFile
impl Sync for FormatFile
impl Unpin for FormatFile
impl UnsafeUnpin for FormatFile
impl UnwindSafe for FormatFile
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