pub enum ServiceBody {
Unary(Bytes),
Stream(EventStream),
}Variants§
Unary(Bytes)
Stream(EventStream)
Auto Trait Implementations§
impl !Freeze for ServiceBody
impl !RefUnwindSafe for ServiceBody
impl !Sync for ServiceBody
impl !UnwindSafe for ServiceBody
impl Send for ServiceBody
impl Unpin for ServiceBody
impl UnsafeUnpin for ServiceBody
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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