Enum zmtp::ValidateResult [] [src]

pub enum ValidateResult {
    Ok,
    NullError(u8charVec<u8>),
    DigitError(u8charVec<u8>),
    TooShortError(u64),
    TooLongError(u64),
    SpecialError(u8charVec<u8>),
    InvalidError(u8charVec<u8>),
}

A validation result.

Variants

The bytes were correctly validated.

The bytes have a \0 terminator in them.

The bytes have a digit in them.

The bytes slice is too short.

The bytes slice is too long.

The bytes slice contains one of - _ . or +.

The bytes slice contains a character that is not in any other category and thus by default disallowed.

Methods

impl ValidateResult
[src]

Trait Implementations

impl PartialEq for ValidateResult
[src]

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

This method tests for !=.

impl Eq for ValidateResult
[src]

impl Debug for ValidateResult
[src]

Formats the value using the given formatter.

impl Clone for ValidateResult
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more