pub enum Prefix {
None,
Digest,
}
Expand description
Use this enum to specify whether or not we should include a prefix in the target name when saving a target.
Variants
None
Do not prepend the target name when saving the target file, e.g. my-target.txt
.
Digest
Prepend the sha digest when saving the target file, e.g. 0123456789abcdef.my-target.txt
.
Trait Implementations
impl Copy for Prefix
impl Eq for Prefix
impl StructuralEq for Prefix
impl StructuralPartialEq for Prefix
Auto Trait Implementations
impl RefUnwindSafe for Prefix
impl Send for Prefix
impl Sync for Prefix
impl Unpin for Prefix
impl UnwindSafe for Prefix
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more