[][src]Enum nrf52_bin_logger::LogOnLine

pub enum LogOnLine<'a, T> {
    Log(&'a str),
    Warn(&'a str),
    Error(&'a str),
    BinaryRaw(BinMessage<'a>),
    ProtocolMessage(T),
}

This is the primary type sent via the Sender

Variants

Log(&'a str)

A Log Level Message

Warn(&'a str)

A Warning Level Message

Error(&'a str)

An Error Level Message

BinaryRaw(BinMessage<'a>)

A binary payload, with a human readable description

ProtocolMessage(T)

A type chosen by the user as a general communication protocol

Trait Implementations

impl<'a, T: Debug> Debug for LogOnLine<'a, T>[src]

impl<'a, T: PartialEq> PartialEq<LogOnLine<'a, T>> for LogOnLine<'a, T>[src]

impl<'a, T: Eq> Eq for LogOnLine<'a, T>[src]

impl<'a, T> StructuralPartialEq for LogOnLine<'a, T>[src]

impl<'a, T> StructuralEq for LogOnLine<'a, T>[src]

impl<'a, T> Serialize for LogOnLine<'a, T> where
    T: Serialize
[src]

impl<'de: 'a, 'a, T> Deserialize<'de> for LogOnLine<'a, T> where
    T: Deserialize<'de>, 
[src]

Auto Trait Implementations

impl<'a, T> Unpin for LogOnLine<'a, T> where
    T: Unpin

impl<'a, T> Send for LogOnLine<'a, T> where
    T: Send

impl<'a, T> Sync for LogOnLine<'a, T> where
    T: Sync

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]