Output

Trait Output 

Source
pub trait Output {
    // Required method
    fn push(&mut self, ch: u8);
}
Expand description

An output of encode or decode.

This is a simpler alternative to Write.

Required Methods§

Source

fn push(&mut self, ch: u8)

Output one byte.

Implementations on Foreign Types§

Source§

impl<T: From<u8>> Output for &mut [T]

Source§

fn push(&mut self, ch: u8)

Source§

impl<T: From<u8>> Output for Vec<T>

Available on crate feature alloc only.
Source§

fn push(&mut self, ch: u8)

Implementors§

Source§

impl Output for PathBufOutput

Available on crate feature std only.