Trait anchor::InputBuffer
source · pub trait InputBuffer {
// Required methods
fn data(&self) -> &[u8] ⓘ;
fn pop(&mut self, count: usize);
// Provided method
fn available(&self) -> usize { ... }
}
Expand description
Trait representing a buffer that protocol messages can be read from