pub enum GeneralResponse<'st> {
Success,
SpecificSuccessResponse(SpecificSuccessResponse<'st>),
Unsupported,
Error(&'st str),
}
Variants§
Success
success
SpecificSuccessResponse(SpecificSuccessResponse<'st>)
<specific_success_response>
Unsupported
unsupported
Error(&'st str)
(error <string>)
Implementations§
Source§impl<'st> GeneralResponse<'st>
impl<'st> GeneralResponse<'st>
Trait Implementations§
Source§impl<'st> Clone for GeneralResponse<'st>
impl<'st> Clone for GeneralResponse<'st>
Source§fn clone(&self) -> GeneralResponse<'st>
fn clone(&self) -> GeneralResponse<'st>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'st> Debug for GeneralResponse<'st>
impl<'st> Debug for GeneralResponse<'st>
Source§impl Display for GeneralResponse<'_>
impl Display for GeneralResponse<'_>
Source§impl<'st> Hash for GeneralResponse<'st>
impl<'st> Hash for GeneralResponse<'st>
Source§impl<'st> PartialEq for GeneralResponse<'st>
impl<'st> PartialEq for GeneralResponse<'st>
impl<'st> Copy for GeneralResponse<'st>
impl<'st> Eq for GeneralResponse<'st>
impl<'st> StructuralPartialEq for GeneralResponse<'st>
Auto Trait Implementations§
impl<'st> Freeze for GeneralResponse<'st>
impl<'st> RefUnwindSafe for GeneralResponse<'st>
impl<'st> Send for GeneralResponse<'st>
impl<'st> Sync for GeneralResponse<'st>
impl<'st> Unpin for GeneralResponse<'st>
impl<'st> UnwindSafe for GeneralResponse<'st>
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