Skip to main content

RecordSink

Trait RecordSink 

Source
pub trait RecordSink {
    // Required method
    fn put(&mut self, bytes: &[u8]);
}
Expand description

A sink the renderers write bytes into - the caller’s bridge to a console, a capture buffer, or an IPC message. Implement it for whatever the bytes should go to.

Required Methods§

Source

fn put(&mut self, bytes: &[u8])

Append bytes to the sink.

Implementors§