Enum darpi_graphql::GraphQLError [−][src]
Variants
ParseRequest(ParseRequestError)
Trait Implementations
impl Display for GraphQLError
[src]
impl From<Error> for GraphQLError
[src]
impl From<ParseRequestError> for GraphQLError
[src]
fn from(e: ParseRequestError) -> Self
[src]
impl<C: 'static> FromRequestBodyWithContainer<GraphQLBody<BatchRequest>, GraphQLError, C> for GraphQLBody<BatchRequest> where
C: HasComponent<dyn MultipartOptionsProvider>,
[src]
C: HasComponent<dyn MultipartOptionsProvider>,
fn extract<'life0, 'async_trait>(
headers: &'life0 HeaderMap,
body: Body,
container: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<GraphQLBody<BatchRequest>, GraphQLError>> + Send + 'async_trait>> where
'life0: 'async_trait,
[src]
headers: &'life0 HeaderMap,
body: Body,
container: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<GraphQLBody<BatchRequest>, GraphQLError>> + Send + 'async_trait>> where
'life0: 'async_trait,
#[must_use]pub fn assert_content_type<'life0, 'async_trait>(
_content_type: Option<&'life0 HeaderValue>,
__arg1: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<(), E>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
_content_type: Option<&'life0 HeaderValue>,
__arg1: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<(), E>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
impl<C: 'static> FromRequestBodyWithContainer<GraphQLBody<Request>, GraphQLError, C> for GraphQLBody<Request> where
C: HasComponent<dyn MultipartOptionsProvider>,
[src]
C: HasComponent<dyn MultipartOptionsProvider>,
fn extract<'life0, 'async_trait>(
headers: &'life0 HeaderMap,
body: Body,
container: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<GraphQLBody<Request>, GraphQLError>> + Send + 'async_trait>> where
'life0: 'async_trait,
[src]
headers: &'life0 HeaderMap,
body: Body,
container: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<GraphQLBody<Request>, GraphQLError>> + Send + 'async_trait>> where
'life0: 'async_trait,
#[must_use]pub fn assert_content_type<'life0, 'async_trait>(
_content_type: Option<&'life0 HeaderValue>,
__arg1: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<(), E>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
_content_type: Option<&'life0 HeaderValue>,
__arg1: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<(), E>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
impl ResponderError for GraphQLError
[src]
pub fn status_code(&self) -> StatusCode
pub fn respond_err(&self) -> Response<Body>
Auto Trait Implementations
impl !RefUnwindSafe for GraphQLError
impl Send for GraphQLError
impl Sync for GraphQLError
impl Unpin for GraphQLError
impl !UnwindSafe for GraphQLError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
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
pub fn from_query(query_str: Option<&str>) -> Result<T, QueryPayloadError> where
T: DeserializeOwned,
T: DeserializeOwned,
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Interface for T where
T: Any + Send + Sync,
[src]
T: Any + Send + Sync,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ModuleInterface for T where
T: Any + Send + Sync,
[src]
T: Any + Send + Sync,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
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>,