pub trait ValidateInto<T> {
type Error;
type Trace;
// Required method
fn validate_into(self) -> Valid<T, Self::Error, Self::Trace>;
}
Expand description
Moral equivalent of TryInto for validation purposes
Required Associated Types§
Required Methods§
fn validate_into(self) -> Valid<T, Self::Error, Self::Trace>
Implementors§
Source§impl<S, T: ValidateFrom<S>> ValidateInto<T> for S
A blanket implementation for ValidateInto
impl<S, T: ValidateFrom<S>> ValidateInto<T> for S
A blanket implementation for ValidateInto