Struct kernel::debug::DebugWriter  
                   
                       [−]
                   
               [src]
pub struct DebugWriter {
    driver: Option<&'static Driver>,
    pub grant: Option<*mut u8>,
    output_buffer: [u8; 1024],
    output_head: usize,
    output_tail: usize,
    output_active_len: usize,
    count: usize,
}Fields
driver: Option<&'static Driver>
                           
                           
                           
                           grant: Option<*mut u8>
                           
                           
                           
                           output_buffer: [u8; 1024]
                           
                           
                           
                           output_head: usize
                           
                           
                           
                           output_tail: usize
                           
                           
                           
                           output_active_len: usize
                           
                           
                           
                           count: usize
                           
                    Methods
impl DebugWriter[src]
fn write_buffer(start: usize, end: usize, bytes: &[u8])[src]
Convenience method that writes (end-start) bytes from bytes into the debug buffer
fn publish_str(&mut self)[src]
fn callback(bytes_written: usize, _: usize, _: usize, _: usize)[src]
Trait Implementations
impl Write for DebugWriter[src]
fn write_str(&mut self, s: &str) -> Result[src]
Writes a slice of bytes into this writer, returning whether the write succeeded. Read more
fn write_char(&mut self, c: char) -> Result<(), Error>1.1.0[src]
Writes a [char] into this writer, returning whether the write succeeded. Read more
fn write_fmt(&mut self, args: Arguments) -> Result<(), Error>1.0.0[src]
Glue for usage of the [write!] macro with implementors of this trait. Read more