pub trait RecordFields {
    // Required methods
    fn severity(&self) -> u8;
    fn timestamp(&self) -> Time;
    fn write_arguments<B: MutableBuffer>(
        &self,
        writer: &mut Encoder<B>
    ) -> Result<(), EncodingError>;
}
Expand description

Trait implemented by complete Records.

Required Methods§

source

fn severity(&self) -> u8

Returns the record severity.

source

fn timestamp(&self) -> Time

Returns the timestamp associated to this record.

source

fn write_arguments<B: MutableBuffer>( &self, writer: &mut Encoder<B> ) -> Result<(), EncodingError>

Consumes this type and writes all the arguments.

Object Safety§

This trait is not object safe.

Implementors§