[][src]Trait preftool::bind::ValidationResult

pub trait ValidationResult {
    fn into_result(self) -> Result<()>;
}

Helper trait for dealing with validation results. Custon validate functions (used by the derive macro) requires that the return value implements this trait.

Required methods

fn into_result(self) -> Result<()>

Loading content...

Implementations on Foreign Types

impl ValidationResult for ()[src]

Loading content...

Implementors

impl ValidationResult for Result<()>[src]

impl<E: Into<Error>> ValidationResult for E[src]

Loading content...