Enum vatfluid::Success [] [src]

pub enum Success {
    Complete(usize),
    Incomplete(usizeusize),
}

A successful validation result.

Variants

The validation is complete. The argument is the final position in the input.

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Success
[src]

Formats the value using the given formatter.

impl Eq for Success
[src]

impl PartialEq for Success
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.