pub enum CdDecision {
Allow,
Block(String),
}Expand description
What to do about a cd that is about to happen.
Variants§
Allow
Let the shell move.
Block(String)
Refuse the move and show this message (the UI adds the recovery tip).
Implementations§
Trait Implementations§
Source§impl Clone for CdDecision
impl Clone for CdDecision
Source§fn clone(&self) -> CdDecision
fn clone(&self) -> CdDecision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CdDecision
impl Debug for CdDecision
impl Eq for CdDecision
Source§impl PartialEq for CdDecision
impl PartialEq for CdDecision
impl StructuralPartialEq for CdDecision
Auto Trait Implementations§
impl Freeze for CdDecision
impl RefUnwindSafe for CdDecision
impl Send for CdDecision
impl Sync for CdDecision
impl Unpin for CdDecision
impl UnsafeUnpin for CdDecision
impl UnwindSafe for CdDecision
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.