Trait http_box::util::FieldClosure
[−]
[src]
pub trait FieldClosure {
fn run(&mut self, segment: FieldSegment) -> bool;
fn validate(&mut self, byte: u8) -> bool;
}Field closure support.
Required Methods
fn run(&mut self, segment: FieldSegment) -> bool
Run the field segment closure.
fn validate(&mut self, byte: u8) -> bool
Run the byte validation closure.