#[repr(C)]pub struct StopSendingFrame {
pub stream_id: u64,
pub application_protocol_error_code: u64,
}
Expand description
An endpoint uses a STOP_SENDING frame (type=0x05) to communicate that incoming data is being discarded on receipt at application request. STOP_SENDING requests that a peer cease transmission on a stream.
A STOP_SENDING frame can be sent for streams in the Recv or Size Known states; see Section 3.1. Receiving a STOP_SENDING frame for a locally-initiated stream that has not yet been created MUST be treated as a connection error of type STREAM_STATE_ERROR. An endpoint that receives a STOP_SENDING frame for a receive-only stream MUST terminate the connection with error STREAM_STATE_ERROR.
Fields§
§stream_id: u64
A variable-length integer carrying the Stream ID of the stream being ignored.
application_protocol_error_code: u64
A variable-length integer containing the application-specified reason the sender is ignoring the stream.
Trait Implementations§
Source§impl Clone for StopSendingFrame
impl Clone for StopSendingFrame
Source§fn clone(&self) -> StopSendingFrame
fn clone(&self) -> StopSendingFrame
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for StopSendingFrame
impl Debug for StopSendingFrame
Source§impl<'de> Deserialize<'de> for StopSendingFrame
impl<'de> Deserialize<'de> for StopSendingFrame
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StopSendingFrame, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StopSendingFrame, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for StopSendingFrame
impl PartialEq for StopSendingFrame
Source§impl PartialOrd for StopSendingFrame
impl PartialOrd for StopSendingFrame
Source§impl Serialize for StopSendingFrame
impl Serialize for StopSendingFrame
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Copy for StopSendingFrame
impl Eq for StopSendingFrame
impl StructuralPartialEq for StopSendingFrame
Auto Trait Implementations§
impl Freeze for StopSendingFrame
impl RefUnwindSafe for StopSendingFrame
impl Send for StopSendingFrame
impl Sync for StopSendingFrame
impl Unpin for StopSendingFrame
impl UnwindSafe for StopSendingFrame
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out
indicating that a T
is niched.