[][src]Struct kernel::debug::DebugWriterWrapper

pub struct DebugWriterWrapper {
    dw: MapCell<&'static DebugWriter>,
}

Wrapper type that we need a mutable reference to for the core::fmt::Write interface.

Fields

dw: MapCell<&'static DebugWriter>

Methods

impl DebugWriterWrapper[src]

pub fn new(dw: &'static DebugWriter) -> DebugWriterWrapper[src]

impl DebugWriterWrapper[src]

Pass through functions.

fn increment_count(&self)[src]

fn get_count(&self) -> usize[src]

fn publish_str(&self)[src]

fn extract(&self) -> Option<&mut RingBuffer<'static, u8>>[src]

Trait Implementations

impl Write for DebugWriterWrapper[src]

Auto Trait Implementations

impl Unpin for DebugWriterWrapper

impl !Send for DebugWriterWrapper

impl !Sync for DebugWriterWrapper

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]