[][src]Struct kernel::debug::DebugWriter

pub struct DebugWriter { /* fields omitted */ }

Main type that we need an immutable reference to so we can share it with the UART provider and this debug module.

Implementations

impl DebugWriter[src]

pub fn new(
    uart: &'static dyn Transmit<'_>,
    out_buffer: &'static mut [u8],
    internal_buffer: &'static mut RingBuffer<'static, u8>
) -> DebugWriter
[src]

Trait Implementations

impl TransmitClient for DebugWriter[src]

Auto Trait Implementations

impl !Send for DebugWriter

impl !Sync for DebugWriter

impl Unpin for DebugWriter

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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> 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.