Enum libnixstore::Radix

source ·
pub enum Radix {
    Base16,
    Base32,
}
Expand description

Nix’s libstore offers two options for representing the hash-part of store paths.

Variants§

§

Base16

Ordinary hexadecimal, using the 16-character alphabet [0-9a-f]

§

Base32

The encoding used for filenames directly beneath /nix/store, using a 32-character alphabet

Trait Implementations§

Defaults to base-32 since that is almost always what you want.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.