Trait symphonia_core::io::Monitor

source ·
pub trait Monitor {
    // Required methods
    fn process_byte(&mut self, byte: u8);
    fn process_buf_bytes(&mut self, buf: &[u8]);

    // Provided methods
    fn process_double_bytes(&mut self, buf: [u8; 2]) { ... }
    fn process_triple_bytes(&mut self, buf: [u8; 3]) { ... }
    fn process_quad_bytes(&mut self, buf: [u8; 4]) { ... }
}
Expand description

A Monitor provides a common interface to examine the operations observed be a MonitorStream.

Required Methods§

source

fn process_byte(&mut self, byte: u8)

source

fn process_buf_bytes(&mut self, buf: &[u8])

Provided Methods§

source

fn process_double_bytes(&mut self, buf: [u8; 2])

source

fn process_triple_bytes(&mut self, buf: [u8; 3])

source

fn process_quad_bytes(&mut self, buf: [u8; 4])

Implementors§