Skip to main content

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

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

Implementors§

Source§

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