pub struct StreamEndSpec {
pub stream_id: [u8; 16],
pub role: StreamRole,
pub signer: Option<[u8; 32]>,
}Expand description
Fields for a STREAM_END frame — a half-close (role: Send) or full
close (role: Both) of one direction. See StreamDataSpec::signer’s
doc — same field, same reasoning.
Fields§
§stream_id: [u8; 16]§role: StreamRole§signer: Option<[u8; 32]>Implementations§
Trait Implementations§
Source§impl Clone for StreamEndSpec
impl Clone for StreamEndSpec
Source§fn clone(&self) -> StreamEndSpec
fn clone(&self) -> StreamEndSpec
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 StreamEndSpec
impl RefUnwindSafe for StreamEndSpec
impl Send for StreamEndSpec
impl Sync for StreamEndSpec
impl Unpin for StreamEndSpec
impl UnsafeUnpin for StreamEndSpec
impl UnwindSafe for StreamEndSpec
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