pub enum LeafPolicy {
Raw,
UnixFs,
}Expand description
Defines the configuration of leaf in a DAG.
Variants§
Trait Implementations§
Source§impl Clone for LeafPolicy
impl Clone for LeafPolicy
Source§fn clone(&self) -> LeafPolicy
fn clone(&self) -> LeafPolicy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LeafPolicy
impl Debug for LeafPolicy
Source§impl Default for LeafPolicy
impl Default for LeafPolicy
Source§fn default() -> LeafPolicy
fn default() -> LeafPolicy
Returns the “default value” for a type. Read more
Source§impl PartialEq for LeafPolicy
impl PartialEq for LeafPolicy
impl Copy for LeafPolicy
impl Eq for LeafPolicy
impl StructuralPartialEq for LeafPolicy
Auto Trait Implementations§
impl Freeze for LeafPolicy
impl RefUnwindSafe for LeafPolicy
impl Send for LeafPolicy
impl Sync for LeafPolicy
impl Unpin for LeafPolicy
impl UnsafeUnpin for LeafPolicy
impl UnwindSafe for LeafPolicy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.