Enum quinn::ReadToEndError
source · pub enum ReadToEndError {
Read(ReadError),
TooLong,
}
Expand description
Errors from RecvStream::read_to_end
Variants§
Read(ReadError)
An error occurred during reading
TooLong
The stream is larger than the user-supplied limit
Trait Implementations§
source§impl Clone for ReadToEndError
impl Clone for ReadToEndError
source§fn clone(&self) -> ReadToEndError
fn clone(&self) -> ReadToEndError
Returns a copy of the value. Read more
1.0.0 · 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 ReadToEndError
impl Debug for ReadToEndError
source§impl Display for ReadToEndError
impl Display for ReadToEndError
source§impl Error for ReadToEndError
impl Error for ReadToEndError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()