pub enum FHIRHTTPError {
ReqwestError(Error),
NotSupported,
NoResponse,
UrlParseError(String),
DeserializeError(DeserializeError),
SerializeError(SerializeError),
JSONSerializeError(Error),
}Variants§
ReqwestError(Error)
NotSupported
NoResponse
UrlParseError(String)
DeserializeError(DeserializeError)
SerializeError(SerializeError)
JSONSerializeError(Error)
Trait Implementations§
Source§impl Debug for FHIRHTTPError
impl Debug for FHIRHTTPError
Source§impl From<DeserializeError> for FHIRHTTPError
impl From<DeserializeError> for FHIRHTTPError
Source§fn from(error: DeserializeError) -> Self
fn from(error: DeserializeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for FHIRHTTPError
impl From<Error> for FHIRHTTPError
Source§impl From<Error> for FHIRHTTPError
impl From<Error> for FHIRHTTPError
Source§impl From<FHIRHTTPError> for OperationOutcomeError
impl From<FHIRHTTPError> for OperationOutcomeError
Source§fn from(value: FHIRHTTPError) -> Self
fn from(value: FHIRHTTPError) -> Self
Converts to this type from the input type.
Source§impl From<SerializeError> for FHIRHTTPError
impl From<SerializeError> for FHIRHTTPError
Source§fn from(error: SerializeError) -> Self
fn from(error: SerializeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FHIRHTTPError
impl !RefUnwindSafe for FHIRHTTPError
impl Send for FHIRHTTPError
impl Sync for FHIRHTTPError
impl Unpin for FHIRHTTPError
impl !UnwindSafe for FHIRHTTPError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more