pub trait AsErrorCode<ErrorCode>: Send{
// Required method
fn as_error_code(&self) -> Option<ErrorCode>;
}
Expand description
A way to represent a stream operation error as an error code.
Required Methods§
Sourcefn as_error_code(&self) -> Option<ErrorCode>
fn as_error_code(&self) -> Option<ErrorCode>
Represent the error as an error code.