[−][src]Enum graph_rs_sdk::error::GraphFailure
Variants
Io(Error)
Parse(ParseIntError)
ParseString(Infallible)
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) -> GraphFailure
[src]
pub fn internal(err: GraphRsError) -> GraphFailure
[src]
pub fn not_found(msg: &str) -> GraphFailure
[src]
pub fn invalid(msg: &str) -> GraphFailure
[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]
pub fn default() -> GraphFailure
[src]
impl Display for GraphFailure
[src]
impl Error for GraphFailure
[src]
pub fn source(&'a self) -> Option<&'a (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) -> GraphFailure
[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]
pub fn from(err: Error) -> GraphFailure
[src]
impl From<Error> for GraphFailure
[src]
pub fn from(err: Error) -> GraphFailure
[src]
impl From<GraphError> for GraphFailure
[src]
pub fn from(err: GraphError) -> GraphFailure
[src]
impl From<GraphFailure> for OAuthError
[src]
pub fn from(err: GraphFailure) -> OAuthError
[src]
impl From<GraphRsError> for GraphFailure
[src]
pub fn from(err: GraphRsError) -> GraphFailure
[src]
impl From<Infallible> for GraphFailure
[src]
pub fn from(err: Infallible) -> GraphFailure
[src]
impl From<InvalidUri> for GraphFailure
[src]
pub fn from(err: InvalidUri) -> GraphFailure
[src]
impl From<NoneError> for GraphFailure
[src]
pub fn from(NoneError) -> GraphFailure
[src]
impl From<ParseError> for GraphFailure
[src]
pub fn from(err: ParseError) -> GraphFailure
[src]
impl From<ParseIntError> for GraphFailure
[src]
pub fn from(err: ParseIntError) -> GraphFailure
[src]
impl From<RecvError> for GraphFailure
[src]
pub fn from(err: RecvError) -> GraphFailure
[src]
impl From<RenderError> for GraphFailure
[src]
pub fn from(err: RenderError) -> GraphFailure
[src]
impl From<TemplateRenderError> for GraphFailure
[src]
pub fn from(err: TemplateRenderError) -> GraphFailure
[src]
impl From<ToStrError> for GraphFailure
[src]
pub fn from(err: ToStrError) -> GraphFailure
[src]
impl From<Unspecified> for GraphFailure
[src]
pub fn from(Unspecified) -> GraphFailure
[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<GraphFailure, <GraphFailure as TryFrom<&'_ Response>>::Error>
[src]
value: &Response
) -> Result<GraphFailure, <GraphFailure as TryFrom<&'_ Response>>::Error>
impl<'_> TryFrom<&'_ Response> for GraphFailure
[src]
Auto Trait Implementations
impl !RefUnwindSafe for GraphFailure
[src]
impl Send for GraphFailure
[src]
impl Sync for GraphFailure
[src]
impl Unpin for GraphFailure
[src]
impl !UnwindSafe for GraphFailure
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsErrorSource for T where
T: 'static + Error,
T: 'static + Error,
pub fn as_error_source(&self) -> &(dyn Error + 'static)
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> 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>,