Enum vatfluid::Success
[−]
[src]
pub enum Success { Complete(usize), Incomplete(usize, usize), }
A successful validation result.
Variants
Complete(usize)
The validation is complete. The argument is the final position in the input.
Incomplete(usize, usize)
The validation was successful, but incomplete. The first argument is the number of expected bytes. The second argument is the position in the input buffer that has been validated so far.
Trait Implementations
impl Copy for Success
[src]
impl Clone for Success
[src]
fn clone(&self) -> Success
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more