[−][src]Enum graph_error::GraphFailure
Variants
Io(Error)
Parse(ParseIntError)
ParseString(ParseError)
Utf8Error(Utf8Error)
ReqwestError(Error)
ReqwestHeaderToStr(ToStrError)
SerdeError(Error)
SerdeYamlError(Error)
DecodeError(DecodeError)
GraphError(GraphError)
RecvError(RecvError)
BorrowMutError(BorrowMutError)
UrlParseError(ParseError)
HyperError(Error)
HyperHttpError(Error)
HyperInvalidUri(InvalidUri)
GraphRsError(GraphRsError)
HandlebarsRenderError(RenderError)
HandlebarsTemplateRenderError(TemplateRenderError)
Implementations
impl GraphFailure
[src]
pub fn error_kind(error_kind: ErrorKind, message: &str) -> Self
[src]
pub fn internal(err: GraphRsError) -> GraphFailure
[src]
pub fn not_found(msg: &str) -> GraphFailure
[src]
pub fn invalid(msg: &str) -> Self
[src]
pub fn from_response(r: &Response) -> Option<GraphFailure>
[src]
pub fn from_async_response(r: &Response) -> Option<GraphFailure>
[src]
Trait Implementations
impl AsRes<GraphFailure> for GraphFailure
[src]
pub fn as_err_res<T>(self) -> Result<T, GraphFailure>
[src]
pub fn as_failure(self) -> GraphFailure
[src]
impl Debug for GraphFailure
[src]
impl Default for GraphFailure
[src]
impl Display for GraphFailure
[src]
impl Error for GraphFailure
[src]
pub fn source<'a>(&'a self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<BorrowMutError> for GraphFailure
[src]
pub fn from(err: BorrowMutError) -> Self
[src]
impl From<DecodeError> for GraphFailure
[src]
pub fn from(err: DecodeError) -> GraphFailure
[src]
impl From<Error> for GraphFailure
[src]
pub fn from(err: Error) -> GraphFailure
[src]
impl From<Error> for GraphFailure
[src]
pub fn from(err: Error) -> GraphFailure
[src]
impl From<Error> for GraphFailure
[src]
pub fn from(err: Error) -> GraphFailure
[src]
impl From<Error> for GraphFailure
[src]
pub fn from(err: Error) -> GraphFailure
[src]
impl From<Error> for GraphFailure
[src]
impl From<Error> for GraphFailure
[src]
impl From<GraphError> for GraphFailure
[src]
pub fn from(err: GraphError) -> Self
[src]
impl From<GraphRsError> for GraphFailure
[src]
pub fn from(err: GraphRsError) -> Self
[src]
impl From<Infallible> for GraphFailure
[src]
pub fn from(err: ParseError) -> GraphFailure
[src]
impl From<InvalidUri> for GraphFailure
[src]
pub fn from(err: InvalidUri) -> Self
[src]
impl From<NoneError> for GraphFailure
[src]
impl From<ParseError> for GraphFailure
[src]
pub fn from(err: ParseError) -> Self
[src]
impl From<ParseIntError> for GraphFailure
[src]
pub fn from(err: ParseIntError) -> GraphFailure
[src]
impl From<RecvError> for GraphFailure
[src]
impl From<RenderError> for GraphFailure
[src]
pub fn from(err: RenderError) -> Self
[src]
impl From<TemplateRenderError> for GraphFailure
[src]
pub fn from(err: TemplateRenderError) -> Self
[src]
impl From<ToStrError> for GraphFailure
[src]
pub fn from(err: ToStrError) -> GraphFailure
[src]
impl From<Unspecified> for GraphFailure
[src]
pub fn from(_: Unspecified) -> Self
[src]
impl From<Utf8Error> for GraphFailure
[src]
pub fn from(err: Utf8Error) -> GraphFailure
[src]
impl<'_> TryFrom<&'_ Response> for GraphFailure
[src]
type Error = Error
The type returned in the event of a conversion error.
pub fn try_from(value: &Response) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ Response> for GraphFailure
[src]
Auto Trait Implementations
impl !RefUnwindSafe for GraphFailure
impl Send for GraphFailure
impl Sync for GraphFailure
impl Unpin for GraphFailure
impl !UnwindSafe for GraphFailure
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsErrorSource for T where
T: 'static + Error,
[src]
T: 'static + Error,
pub fn as_error_source(&self) -> &(dyn Error + 'static)
[src]
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> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,