pub enum MessageFormat {
Plain(Format),
Rfc5424(Format),
Rfc5425(Format),
}
Expand description
Syslog message format.
Variants§
Plain(Format)
No formatting is applied.
Rfc5424(Format)
Formatting according to RFC5424 is applied.
Rfc5425(Format)
Formatting according to RFC5425 is applied (use with telegraf).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MessageFormat
impl !RefUnwindSafe for MessageFormat
impl Send for MessageFormat
impl Sync for MessageFormat
impl Unpin for MessageFormat
impl !UnwindSafe for MessageFormat
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