[−][src]Trait awmpde::FromField
Associated Types
type Error: Into<Error>
The associated error which can be returned.
type Future: 'static + Future
Future that resolves to a Self
Associated Constants
Loading content...Required methods
fn from_field(field: Field) -> Self::Future
Implementations on Foreign Types
impl FromField for Vec<u8>
[src]
type Error = Error
type Future = Pin<Box<dyn Future<Output = Result<Vec<u8>, <Vec<u8> as FromField>::Error>> + 'static>>
pub const MIME: Either<Mime, Name<'static>>
[src]
pub fn from_field(field: Field) -> <Vec<u8> as FromField>::Future
[src]
impl FromField for String
[src]
type Error = Error
type Future = Pin<Box<dyn Future<Output = Result<String, <String as FromField>::Error>> + 'static>>
pub const MIME: Either<Mime, Name<'static>>
[src]
pub fn from_field(field: Field) -> <String as FromField>::Future
[src]
Implementors
impl FromField for BgrImage
[src]
type Error = Error
type Future = Pin<Box<dyn Future<Output = Result<BgrImage, <BgrImage as FromField>::Error>> + 'static>>
pub const MIME: Either<Mime, Name<'static>>
[src]
pub fn from_field(field: Field) -> <BgrImage as FromField>::Future
[src]
impl FromField for BgraImage
[src]
type Error = Error
type Future = Pin<Box<dyn Future<Output = Result<BgraImage, <BgraImage as FromField>::Error>> + 'static>>
pub const MIME: Either<Mime, Name<'static>>
[src]
pub fn from_field(field: Field) -> <BgraImage as FromField>::Future
[src]
impl FromField for DynamicImage
[src]
type Error = Error
type Future = Pin<Box<dyn Future<Output = Result<DynamicImage, <DynamicImage as FromField>::Error>> + 'static>>
pub const MIME: Either<Mime, Name<'static>>
[src]
pub fn from_field(field: Field) -> <DynamicImage as FromField>::Future
[src]
impl FromField for GrayAlphaImage
[src]
type Error = Error
type Future = Pin<Box<dyn Future<Output = Result<GrayAlphaImage, <GrayAlphaImage as FromField>::Error>> + 'static>>
pub const MIME: Either<Mime, Name<'static>>
[src]
pub fn from_field(field: Field) -> <GrayAlphaImage as FromField>::Future
[src]
impl FromField for GrayImage
[src]
type Error = Error
type Future = Pin<Box<dyn Future<Output = Result<GrayImage, <GrayImage as FromField>::Error>> + 'static>>
pub const MIME: Either<Mime, Name<'static>>
[src]
pub fn from_field(field: Field) -> <GrayImage as FromField>::Future
[src]
impl FromField for RgbImage
[src]
type Error = Error
type Future = Pin<Box<dyn Future<Output = Result<RgbImage, <RgbImage as FromField>::Error>> + 'static>>
pub const MIME: Either<Mime, Name<'static>>
[src]
pub fn from_field(field: Field) -> <RgbImage as FromField>::Future
[src]
impl FromField for RgbaImage
[src]
type Error = Error
type Future = Pin<Box<dyn Future<Output = Result<RgbaImage, <RgbaImage as FromField>::Error>> + 'static>>
pub const MIME: Either<Mime, Name<'static>>
[src]
pub fn from_field(field: Field) -> <RgbaImage as FromField>::Future
[src]
impl<T> FromField for File<T> where
T: FromField + 'static,
<T as FromField>::Error: Debug,
[src]
T: FromField + 'static,
<T as FromField>::Error: Debug,
type Error = Error
type Future = Pin<Box<dyn Future<Output = Result<File<T>, <File<T> as FromField>::Error>> + 'static>>
pub const MIME: Either<Mime, Name<'static>>
[src]
pub fn from_field(field: Field) -> <File<T> as FromField>::Future
[src]
impl<T> FromField for Json<T> where
T: 'static + DeserializeOwned,
[src]
T: 'static + DeserializeOwned,