Enum ErrorPolicy
#[non_exhaustive]
pub enum ErrorPolicy
Policy for customizing behavior in case of an error.
Variants
-
FailFast Return as early as possible without producing output in case of error.
-
MarkErrors In case of error, mark errors with the REPLACEMENT CHARACTER. (The output containing REPLACEMENT CHARACTERs may be show to the user to illustrate what was wrong but must not be used for naming in a network protocol.)
Trait Implementations
impl Clone for ErrorPolicy
fn clone(&self) -> Self
impl Copy for ErrorPolicy
impl Eq for ErrorPolicy
impl PartialEq for ErrorPolicy
fn eq(&self, other: &Self) -> bool