Enum python_packaging::bytecode::BytecodeHeaderMode [−][src]
pub enum BytecodeHeaderMode {
ModifiedTimeAndSourceSize((u32, u32)),
CheckedHash(u64),
UncheckedHash(u64),
}How to write out a .pyc bytecode header.
Variants
Use a file modified time plus source size.
CheckedHash(u64)Check the hash against the hash of a source file.
UncheckedHash(u64)Do not check the hash, but embed it anyway.
Trait Implementations
impl Clone for BytecodeHeaderMode[src]
impl Clone for BytecodeHeaderMode[src]fn clone(&self) -> BytecodeHeaderMode[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for BytecodeHeaderMode[src]
impl Copy for BytecodeHeaderMode[src]Auto Trait Implementations
impl RefUnwindSafe for BytecodeHeaderMode
impl RefUnwindSafe for BytecodeHeaderModeimpl Send for BytecodeHeaderMode
impl Send for BytecodeHeaderModeimpl Sync for BytecodeHeaderMode
impl Sync for BytecodeHeaderModeimpl Unpin for BytecodeHeaderMode
impl Unpin for BytecodeHeaderModeimpl UnwindSafe for BytecodeHeaderMode
impl UnwindSafe for BytecodeHeaderMode