pub trait FromField {
type Error: Into<Error>;
type Future: 'static + Future;
fn from_field(field: Field) -> Self::Future;
}
Associated Types
Required methods
fn from_field(field: Field) -> Self::Future
Implementations on Foreign Types
sourceimpl FromField for Vec<u8, Global>
impl FromField for Vec<u8, Global>
type Error = Infallible
type Future = Pin<Box<dyn Future<Output = Result<Vec<u8, Global>, <Vec<u8, Global> as FromField>::Error>> + 'static, Global>>
pub fn from_field(field: Field) -> <Vec<u8, Global> as FromField>::FutureⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,