#[repr(C, u8)]pub enum ResultHttpResponseHttpError {
Ok(HttpResponse),
Err(HttpError),
}Variants§
Ok(HttpResponse)
Err(HttpError)
Implementations§
Source§impl ResultHttpResponseHttpError
impl ResultHttpResponseHttpError
pub fn into_result(self) -> Result<HttpResponse, HttpError>
Trait Implementations§
Source§impl Clone for ResultHttpResponseHttpError
impl Clone for ResultHttpResponseHttpError
Source§fn clone(&self) -> ResultHttpResponseHttpError
fn clone(&self) -> ResultHttpResponseHttpError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResultHttpResponseHttpError
impl Debug for ResultHttpResponseHttpError
Source§impl From<Result<HttpResponse, HttpError>> for ResultHttpResponseHttpError
impl From<Result<HttpResponse, HttpError>> for ResultHttpResponseHttpError
Source§fn from(o: Result<HttpResponse, HttpError>) -> ResultHttpResponseHttpError
fn from(o: Result<HttpResponse, HttpError>) -> ResultHttpResponseHttpError
Converts to this type from the input type.
Source§impl From<ResultHttpResponseHttpError> for Result<HttpResponse, HttpError>
impl From<ResultHttpResponseHttpError> for Result<HttpResponse, HttpError>
Source§fn from(o: ResultHttpResponseHttpError) -> Result<HttpResponse, HttpError>
fn from(o: ResultHttpResponseHttpError) -> Result<HttpResponse, HttpError>
Converts to this type from the input type.
impl StructuralPartialEq for ResultHttpResponseHttpError
Auto Trait Implementations§
impl Freeze for ResultHttpResponseHttpError
impl RefUnwindSafe for ResultHttpResponseHttpError
impl Send for ResultHttpResponseHttpError
impl Sync for ResultHttpResponseHttpError
impl Unpin for ResultHttpResponseHttpError
impl UnsafeUnpin for ResultHttpResponseHttpError
impl UnwindSafe for ResultHttpResponseHttpError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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