pub struct ViaBackpressureV1 {
pub protocol_version: u16,
pub stream_id: ScopedReferenceV1,
pub accepted_window: u16,
pub retry_after_ms: u32,
}Fields§
§protocol_version: u16§stream_id: ScopedReferenceV1§accepted_window: u16§retry_after_ms: u32Implementations§
Source§impl ViaBackpressureV1
impl ViaBackpressureV1
pub fn validate(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for ViaBackpressureV1
impl Clone for ViaBackpressureV1
Source§impl Debug for ViaBackpressureV1
impl Debug for ViaBackpressureV1
Source§impl<'de> Deserialize<'de> for ViaBackpressureV1
impl<'de> Deserialize<'de> for ViaBackpressureV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ViaBackpressureV1
Source§impl PartialEq for ViaBackpressureV1
impl PartialEq for ViaBackpressureV1
Source§impl Serialize for ViaBackpressureV1
impl Serialize for ViaBackpressureV1
impl StructuralPartialEq for ViaBackpressureV1
Auto Trait Implementations§
impl Forget for ViaBackpressureV1
impl Freeze for ViaBackpressureV1
impl Move for ViaBackpressureV1
impl RefUnwindSafe for ViaBackpressureV1
impl Send for ViaBackpressureV1
impl Sync for ViaBackpressureV1
impl Unpin for ViaBackpressureV1
impl UnsafeUnpin for ViaBackpressureV1
impl UnwindSafe for ViaBackpressureV1
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