Options

Trait Options 

Source
pub trait Options<T> {
    // Required method
    fn apply(&self, target: &T) -> Result<(), ErrorCode>;
}
Expand description

Options interface

Required Methods§

Source

fn apply(&self, target: &T) -> Result<(), ErrorCode>

Applies options to the target, returning error if any happens

Implementations on Foreign Types§

Source§

impl<T> Options<T> for ()

Source§

fn apply(&self, _: &T) -> Result<(), ErrorCode>

Implementors§