pub struct PublishDone {
pub status_code: VarInt,
pub stream_count: VarInt,
pub reason_phrase: Vec<u8>,
}Expand description
PUBLISH_DONE (0x0B). Status codes 0x5/0x6 are swapped vs draft-17.
Fields§
§status_code: VarInt§stream_count: VarInt§reason_phrase: Vec<u8>Trait Implementations§
Source§impl Clone for PublishDone
impl Clone for PublishDone
Source§fn clone(&self) -> PublishDone
fn clone(&self) -> PublishDone
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 moreSource§impl Debug for PublishDone
impl Debug for PublishDone
Source§impl PartialEq for PublishDone
impl PartialEq for PublishDone
Source§fn eq(&self, other: &PublishDone) -> bool
fn eq(&self, other: &PublishDone) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PublishDone
impl StructuralPartialEq for PublishDone
Auto Trait Implementations§
impl Freeze for PublishDone
impl RefUnwindSafe for PublishDone
impl Send for PublishDone
impl Sync for PublishDone
impl Unpin for PublishDone
impl UnsafeUnpin for PublishDone
impl UnwindSafe for PublishDone
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