[][src]Struct cortex_m_log::printer::semihosting::Semihosting

pub struct Semihosting<M: InterruptModer, T: SemihostingComp> { /* fields omitted */ }

Semihosting backed printer

Methods

impl<M: InterruptModer, T: SemihostingComp> Semihosting<M, T>[src]

pub fn new(inner: T) -> Self[src]

Constructs new instance

impl<M: InterruptModer> Semihosting<M, HStdout>[src]

pub fn stdout() -> Result<Self, ()>[src]

Constructs new Semihosting Printer by using HStdout

impl<M: InterruptModer> Semihosting<M, HStderr>[src]

pub fn stderr() -> Result<Self, ()>[src]

Constructs new Semihosting Printer by using HStderr

Trait Implementations

impl<Mode: InterruptModer, T: SemihostingComp> Printer for Semihosting<Mode, T>[src]

type W = T

type M = Mode

fn print(&mut self, args: Arguments)[src]

Prints formatted output to destination

fn println(&mut self, args: Arguments)[src]

Prints formatted output to destination with newline

Auto Trait Implementations

impl<M, T> Send for Semihosting<M, T> where
    M: Send,
    T: Send

impl<M, T> Sync for Semihosting<M, T> where
    M: Sync,
    T: Sync

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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, U> Into for T where
    U: From<T>, 
[src]

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

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

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

impl<T> Same for T

type Output = T

Should always be Self