Struct slog_syslog5424::Rfc5424[][src]

pub struct Rfc5424 { /* fields omitted */ }

Holds the metadata needed for formatting a RFC5424 syslog message.

Use Rfc5424Builder to construct one.

Methods

impl Rfc5424
[src]

Format Rfc5424Data into a RFC5424 message according to the metadata in self, and writes it using writer.

Errors

Errors when writer returns an error (io::Error)

Trait Implementations

impl Default for Rfc5424
[src]

Returns the "default value" for a type. Read more

impl Debug for Rfc5424
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Rfc5424

impl Sync for Rfc5424