pub struct RstStreamFrame {
pub stream_id: u32,
pub error_code: ErrorCode,
}Expand description
RST_STREAM frame.
Fields§
§stream_id: u32§error_code: ErrorCodeImplementations§
Trait Implementations§
Source§impl Clone for RstStreamFrame
impl Clone for RstStreamFrame
Source§fn clone(&self) -> RstStreamFrame
fn clone(&self) -> RstStreamFrame
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 RstStreamFrame
impl RefUnwindSafe for RstStreamFrame
impl Send for RstStreamFrame
impl Sync for RstStreamFrame
impl Unpin for RstStreamFrame
impl UnsafeUnpin for RstStreamFrame
impl UnwindSafe for RstStreamFrame
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