Skip to main content

FromValueOptional

Trait FromValueOptional 

Source
pub trait FromValueOptional<'a>: FromValueOptionalSealed<'a> { }
Expand description

Trait for types that implement FromValue and are Optional.

This trait is auto-implemented for the appropriate types and is sealed.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, E: Error + Send + Sized + 'static,