Enum python_packaging::interpreter::BytesWarning [−][src]
pub enum BytesWarning {
None,
Warn,
Raise,
}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
impl Clone for BytesWarning[src]
impl Clone for BytesWarning[src]fn clone(&self) -> BytesWarning[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for BytesWarning[src]
impl Copy for BytesWarning[src]impl From<i32> for BytesWarning[src]
impl From<i32> for BytesWarning[src]fn from(value: i32) -> BytesWarning[src]
impl PartialEq<BytesWarning> for BytesWarning[src]
impl PartialEq<BytesWarning> for BytesWarning[src]impl StructuralPartialEq for BytesWarning[src]
impl StructuralPartialEq for BytesWarning[src]Auto Trait Implementations
impl RefUnwindSafe for BytesWarning
impl RefUnwindSafe for BytesWarningimpl Send for BytesWarning
impl Send for BytesWarningimpl Sync for BytesWarning
impl Sync for BytesWarningimpl Unpin for BytesWarning
impl Unpin for BytesWarningimpl UnwindSafe for BytesWarning
impl UnwindSafe for BytesWarning