pub enum CallStreamItem {
Message(Value),
Trailers(HashMap<String, String>),
}Expand description
A single item from the response stream.
Variants§
Trait Implementations§
Source§impl Clone for CallStreamItem
impl Clone for CallStreamItem
Source§fn clone(&self) -> CallStreamItem
fn clone(&self) -> CallStreamItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CallStreamItem
impl RefUnwindSafe for CallStreamItem
impl Send for CallStreamItem
impl Sync for CallStreamItem
impl Unpin for CallStreamItem
impl UnsafeUnpin for CallStreamItem
impl UnwindSafe for CallStreamItem
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