pub enum InstructionDiscoveryPathKind {
File,
Directory,
Unknown,
}Expand description
Whether the target is a single file or a directory of instruction files
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
File
The target is a single instruction file.
Directory
The target is a directory that holds instruction files.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for InstructionDiscoveryPathKind
impl Clone for InstructionDiscoveryPathKind
Source§fn clone(&self) -> InstructionDiscoveryPathKind
fn clone(&self) -> InstructionDiscoveryPathKind
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 InstructionDiscoveryPathKind
impl Debug for InstructionDiscoveryPathKind
Source§impl Default for InstructionDiscoveryPathKind
impl Default for InstructionDiscoveryPathKind
Source§fn default() -> InstructionDiscoveryPathKind
fn default() -> InstructionDiscoveryPathKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InstructionDiscoveryPathKind
impl<'de> Deserialize<'de> for InstructionDiscoveryPathKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for InstructionDiscoveryPathKind
Source§impl PartialEq for InstructionDiscoveryPathKind
impl PartialEq for InstructionDiscoveryPathKind
Source§fn eq(&self, other: &InstructionDiscoveryPathKind) -> bool
fn eq(&self, other: &InstructionDiscoveryPathKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InstructionDiscoveryPathKind
Auto Trait Implementations§
impl Freeze for InstructionDiscoveryPathKind
impl RefUnwindSafe for InstructionDiscoveryPathKind
impl Send for InstructionDiscoveryPathKind
impl Sync for InstructionDiscoveryPathKind
impl Unpin for InstructionDiscoveryPathKind
impl UnsafeUnpin for InstructionDiscoveryPathKind
impl UnwindSafe for InstructionDiscoveryPathKind
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