pub enum Response<Resp> {
Serialized(Serialized),
Raw(Resp),
}Variants§
Serialized(Serialized)
Raw(Resp)
Trait Implementations§
Auto Trait Implementations§
impl<Resp> !Freeze for Response<Resp>
impl<Resp> RefUnwindSafe for Response<Resp>where
Resp: RefUnwindSafe,
impl<Resp> Send for Response<Resp>where
Resp: Send,
impl<Resp> Sync for Response<Resp>where
Resp: Sync,
impl<Resp> Unpin for Response<Resp>where
Resp: Unpin,
impl<Resp> UnwindSafe for Response<Resp>where
Resp: 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