Enum python_packaging::bytecode::BytecodeHeaderMode [−][src]
pub enum BytecodeHeaderMode {
ModifiedTimeAndSourceSize((u32, u32)),
CheckedHash(u64),
UncheckedHash(u64),
}
Expand description
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.
Tuple Fields of CheckedHash
0: u64
UncheckedHash(u64)
Do not check the hash, but embed it anyway.
Tuple Fields of UncheckedHash
0: u64
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BytecodeHeaderMode
impl Send for BytecodeHeaderMode
impl Sync for BytecodeHeaderMode
impl Unpin for BytecodeHeaderMode
impl UnwindSafe for BytecodeHeaderMode
Blanket Implementations
Mutably borrows from an owned value. Read more