pub enum Response<R> {
TryAgain,
Unavail,
NotFound,
Success(R),
Return,
}
Variants§
Implementations§
Trait Implementations§
source§impl<R: PartialEq> PartialEq for Response<R>
impl<R: PartialEq> PartialEq for Response<R>
impl<R: Copy> Copy for Response<R>
impl<R> StructuralPartialEq for Response<R>
Auto Trait Implementations§
impl<R> Freeze for Response<R>where
R: Freeze,
impl<R> RefUnwindSafe for Response<R>where
R: RefUnwindSafe,
impl<R> Send for Response<R>where
R: Send,
impl<R> Sync for Response<R>where
R: Sync,
impl<R> Unpin for Response<R>where
R: Unpin,
impl<R> UnwindSafe for Response<R>where
R: UnwindSafe,
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