pub enum ResponseType<T, U> {
Regular(T),
Free(U),
}Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, U> Freeze for ResponseType<T, U>
impl<T, U> RefUnwindSafe for ResponseType<T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for ResponseType<T, U>
impl<T, U> Sync for ResponseType<T, U>
impl<T, U> Unpin for ResponseType<T, U>
impl<T, U> UnwindSafe for ResponseType<T, U>where
T: UnwindSafe,
U: 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