pub enum ReadError {
Blocked,
Reset {
error_code: u16,
},
Finished,
}
No more data is currently available on this stream.
The peer abandoned transmitting data on this stream.
Fields of Reset
The data on this stream has been fully delivered and no more will be transmitted.
Formats the value using the given formatter. Read more
Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
Returns a reference to the Backtrace
carried by this failure, if it carries one. Read more
Wraps this failure in a compatibility wrapper that implements std::error::Error
. Read more
Returns a iterator over the causes of this Fail
with itself as the first item and the root_cause
as the final item. Read more
[−]
Returns the "root cause" of this Fail
- the last value in the cause chain which does not return an underlying cause
. Read more
[+]
[+]
[+]
[−]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
[−]
This method tests for !=
.
[+]
[−]
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self | 1.21.0 [src] |
[−]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self | 1.21.0 [src] |
[−]
Compares and returns the minimum of two values. Read more
[+]
[−]
This method returns an ordering between self
and other
values if one exists. Read more
[−]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
[−]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
[−]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
[−]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
[+]