pub enum HookInstallSourcePlan {
Proceed(HookInstallSourceKind),
SourceRequired,
EmptyStdin,
}Expand description
Pure install source plan after CLI gathers flags.
Variants§
Proceed(HookInstallSourceKind)
Proceed with the given source kind.
SourceRequired
Neither –from-file nor –from-stdin provided.
EmptyStdin
–from-stdin selected but content is empty.
Trait Implementations§
Source§impl Clone for HookInstallSourcePlan
impl Clone for HookInstallSourcePlan
Source§fn clone(&self) -> HookInstallSourcePlan
fn clone(&self) -> HookInstallSourcePlan
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 moreimpl Copy for HookInstallSourcePlan
Source§impl Debug for HookInstallSourcePlan
impl Debug for HookInstallSourcePlan
impl Eq for HookInstallSourcePlan
Source§impl PartialEq for HookInstallSourcePlan
impl PartialEq for HookInstallSourcePlan
impl StructuralPartialEq for HookInstallSourcePlan
Auto Trait Implementations§
impl Freeze for HookInstallSourcePlan
impl RefUnwindSafe for HookInstallSourcePlan
impl Send for HookInstallSourcePlan
impl Sync for HookInstallSourcePlan
impl Unpin for HookInstallSourcePlan
impl UnsafeUnpin for HookInstallSourcePlan
impl UnwindSafe for HookInstallSourcePlan
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