IntoOptions

Trait IntoOptions 

Source
pub trait IntoOptions<'a> {
    // Required method
    fn into_options(self) -> Result<Options<'a>, Error>;
}
Expand description

A trait implemented by types that can be converted into Options

Required Methods§

Source

fn into_options(self) -> Result<Options<'a>, Error>

Try to convert self into an Options structure

Implementations on Foreign Types§

Source§

impl<'a> IntoOptions<'a> for &'a str

Implementors§

Source§

impl<'a> IntoOptions<'a> for Options<'a>