Trait ppp::v2::WriteToHeader [−][src]
pub trait WriteToHeader {
fn write_to(&self, writer: &mut Writer) -> Result<usize>;
fn to_bytes(&self) -> Result<Vec<u8>> { ... }
}
Expand description
Defines how to write a type as part of a binary PROXY protocol header.