Struct klogger::Writer[][src]

pub struct Writer<'a> { /* fields omitted */ }
Expand description

A writer for the serial line. It holds a lock so multiple cores/threads can print at the same time.

Implementations

Obtain a logger for the specified module.

Obtain a logger.

Trait Implementations

Release the logger (and the line_lock), end output with a newline.

Serial standard mandates the use of ‘\r\n’ for a newline and resetting the curser to the beginning.

Write stuff to serial out.

Writes a char into this writer, returning whether the write succeeded. Read more

Glue for usage of the write! macro with implementors of this trait. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.