pub struct LocalStreamReset {
pub code: u64,
}Expand description
A local reset via SendStream::reset(code). Distinct from a peer
StreamTerminated: h3 should not poll a reset send stream, and if it does we
surface this rather than pretending the peer terminated the stream.
Fields§
§code: u64The (already-clamped) local reset code.
Trait Implementations§
Source§impl Debug for LocalStreamReset
impl Debug for LocalStreamReset
Source§impl Display for LocalStreamReset
impl Display for LocalStreamReset
Source§impl Error for LocalStreamReset
impl Error for LocalStreamReset
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for LocalStreamReset
impl RefUnwindSafe for LocalStreamReset
impl Send for LocalStreamReset
impl Sync for LocalStreamReset
impl Unpin for LocalStreamReset
impl UnsafeUnpin for LocalStreamReset
impl UnwindSafe for LocalStreamReset
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