Enum python_packaging::interpreter::BytesWarning [−][src]
pub enum BytesWarning {
None,
Warn,
Raise,
}
Expand description
Defines what to do when comparing bytes with str.
See https://docs.python.org/3/c-api/init_config.html#c.PyConfig.bytes_warning.
Variants
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for BytesWarning
impl Send for BytesWarning
impl Sync for BytesWarning
impl Unpin for BytesWarning
impl UnwindSafe for BytesWarning
Blanket Implementations
Mutably borrows from an owned value. Read more