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§
Sourcefn into_options(self) -> Result<Options<'a>, Error>
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".