Trait CapturerBuffer

Source
pub trait CapturerBuffer {
    // Required methods
    fn as_bytes(&self) -> &[u8] ;
    fn as_bytes_mut(&mut self) -> &mut [u8] ;
}
Expand description

Provides a buffer for the capturer to store the captured frame.

Required Methods§

Source

fn as_bytes(&self) -> &[u8]

Source

fn as_bytes_mut(&mut self) -> &mut [u8]

Implementations on Foreign Types§

Source§

impl CapturerBuffer for Vec<u8>

Source§

fn as_bytes(&self) -> &[u8]

Source§

fn as_bytes_mut(&mut self) -> &mut [u8]

Implementors§