Enum darpi_web::yaml::YamlErr [−][src]
Variants
ReadBody(Error)
Serde(Error)
Trait Implementations
impl Display for YamlErr
[src]
impl From<Error> for YamlErr
[src]
impl From<Error> for YamlErr
[src]
impl<T> FromRequestBody<Yaml<T>, YamlErr> for Yaml<T> where
T: DeserializeOwned + 'static,
[src]
T: DeserializeOwned + 'static,
fn assert_content_type<'life0, 'async_trait>(
content_type: Option<&'life0 HeaderValue>
) -> Pin<Box<dyn Future<Output = Result<(), YamlErr>> + Send + 'async_trait>> where
'life0: 'async_trait,
[src]
content_type: Option<&'life0 HeaderValue>
) -> Pin<Box<dyn Future<Output = Result<(), YamlErr>> + Send + 'async_trait>> where
'life0: 'async_trait,
fn extract<'life0, 'async_trait>(
__arg0: &'life0 HeaderMap,
b: Body
) -> Pin<Box<dyn Future<Output = Result<Yaml<T>, YamlErr>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
__arg0: &'life0 HeaderMap,
b: Body
) -> Pin<Box<dyn Future<Output = Result<Yaml<T>, YamlErr>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
impl ResponderError for YamlErr
[src]
fn status_code(&self) -> StatusCode
[src]
fn respond_err(&self) -> Response<Body>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for YamlErr
impl Send for YamlErr
impl Sync for YamlErr
impl Unpin for YamlErr
impl !UnwindSafe for YamlErr
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> FromQuery<T, QueryPayloadError> for T
[src]
pub fn from_query(Option<&str>) -> Result<T, QueryPayloadError> where
T: DeserializeOwned,
[src]
T: DeserializeOwned,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,