pub struct StreamReplySpec {
pub stream_id: [u8; 16],
pub payload: Value,
pub responded_by: [u8; 32],
}Expand description
Fields for a STREAM_REPLY frame — the terminal result of a
client_stream/bidi exchange, sent once by the provider after it
has fully consumed and verified whatever the caller streamed.
Fields§
§stream_id: [u8; 16]§payload: Value§responded_by: [u8; 32]Implementations§
Trait Implementations§
Source§impl Clone for StreamReplySpec
impl Clone for StreamReplySpec
Source§fn clone(&self) -> StreamReplySpec
fn clone(&self) -> StreamReplySpec
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 StreamReplySpec
impl RefUnwindSafe for StreamReplySpec
impl Send for StreamReplySpec
impl Sync for StreamReplySpec
impl Unpin for StreamReplySpec
impl UnsafeUnpin for StreamReplySpec
impl UnwindSafe for StreamReplySpec
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