Trait syslog5424::Rfc5424Data [−][src]
pub trait Rfc5424Data { fn severity(&self) -> Severity; fn timestamp(&self) -> Option<String>; fn structured_data(&self) -> Option<StructuredData>; fn message(&self) -> Option<Message>; }
Trait that defines what data is needed in order to create
a RFC5424 message. Any type that implements this can be
formatted with a Rfc5424
struct.