pub enum InitialMessageStreamError {
InitialRawStream {
source: InitialRawMessageStreamError,
},
QPackProtocolDisabled {
source: QPackProtocolDisabled,
},
}Variants§
InitialRawStream
Fields
§
source: InitialRawMessageStreamErrorQPackProtocolDisabled
Fields
§
source: QPackProtocolDisabledTrait Implementations§
Source§impl Clone for InitialMessageStreamError
impl Clone for InitialMessageStreamError
Source§fn clone(&self) -> InitialMessageStreamError
fn clone(&self) -> InitialMessageStreamError
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 InitialMessageStreamError
impl Debug for InitialMessageStreamError
Source§impl Display for InitialMessageStreamError
impl Display for InitialMessageStreamError
Source§impl Error for InitialMessageStreamError
impl Error for InitialMessageStreamError
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()
Source§impl ErrorCompat for InitialMessageStreamError
impl ErrorCompat for InitialMessageStreamError
Source§fn iter_chain(&self) -> ChainCompat<'_, '_> ⓘwhere
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_, '_> ⓘwhere
Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to
Error::source. Read moreSource§impl<E: Error + 'static> From<InitialMessageStreamError> for RequestError<E>
impl<E: Error + 'static> From<InitialMessageStreamError> for RequestError<E>
Source§fn from(source: InitialMessageStreamError) -> Self
fn from(source: InitialMessageStreamError) -> Self
Converts to this type from the input type.
Source§impl From<InitialRawMessageStreamError> for InitialMessageStreamError
impl From<InitialRawMessageStreamError> for InitialMessageStreamError
Source§fn from(error: InitialRawMessageStreamError) -> Self
fn from(error: InitialRawMessageStreamError) -> Self
Converts to this type from the input type.
Source§impl From<QPackProtocolDisabled> for InitialMessageStreamError
impl From<QPackProtocolDisabled> for InitialMessageStreamError
Source§fn from(error: QPackProtocolDisabled) -> Self
fn from(error: QPackProtocolDisabled) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InitialMessageStreamError
impl RefUnwindSafe for InitialMessageStreamError
impl Send for InitialMessageStreamError
impl Sync for InitialMessageStreamError
impl Unpin for InitialMessageStreamError
impl UnsafeUnpin for InitialMessageStreamError
impl UnwindSafe for InitialMessageStreamError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S> DecodeExt for Swhere
S: ?Sized,
impl<S> DecodeExt for Swhere
S: ?Sized,
fn decode<T>(self) -> impl Future<Output = Result<T, T::Error>> + Sendwhere
Self: Sized,
T: DecodeFrom<Self>,
fn decode_one<'s, T>(&'s mut self) -> impl Future<Output = Result<T, T::Error>>where
T: DecodeFrom<&'s mut Self>,
fn into_decode_stream<T, Error>(self) -> impl Stream<Item = Result<T, Error>>where
Self: Sized,
for<'s> T: DecodeFrom<&'s mut Self, Error = Error>,
for<'s> &'s mut Self: AsyncBufRead,
Error: From<Error>,
Source§impl<S> EncodeExt for Swhere
S: ?Sized,
impl<S> EncodeExt for Swhere
S: ?Sized,
fn encode<T>(
self,
item: T,
) -> impl Future<Output = Result<T::Output, T::Error>> + Sendwhere
Self: Sized,
T: EncodeInto<Self>,
fn encode_one<'s, T>(
&'s mut self,
item: T,
) -> impl Future<Output = Result<T::Output, T::Error>>where
Self: Sized,
T: EncodeInto<&'s mut Self>,
fn into_encode_sink<T, Error>(self) -> impl Sink<T, Error = Error>where
Self: Sized,
for<'s> T: EncodeInto<&'s mut Self, Error = Error>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more