#[non_exhaustive]pub enum ArtifactDebuginfo {
None,
LineDirectivesOnly,
LineTablesOnly,
Limited,
Full,
UnknownInt(i64),
UnknownString(String),
}
Expand description
The kind of debug information included in the artifact.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
No debug information.
LineDirectivesOnly
Line directives only.
LineTablesOnly
Line tables only.
Limited
Debug information without type or variable-level information.
Full
Full debug information.
UnknownInt(i64)
An unknown integer level.
This may be produced by a version of rustc in the future that has
additional levels represented by an integer that are not known by this
version of cargo_metadata
.
UnknownString(String)
An unknown string level.
This may be produced by a version of rustc in the future that has
additional levels represented by a string that are not known by this
version of cargo_metadata
.
Trait Implementations§
Source§impl Clone for ArtifactDebuginfo
impl Clone for ArtifactDebuginfo
Source§fn clone(&self) -> ArtifactDebuginfo
fn clone(&self) -> ArtifactDebuginfo
Returns a copy 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 ArtifactDebuginfo
impl Debug for ArtifactDebuginfo
Source§impl Default for ArtifactDebuginfo
impl Default for ArtifactDebuginfo
Source§impl<'de> Deserialize<'de> for ArtifactDebuginfo
impl<'de> Deserialize<'de> for ArtifactDebuginfo
Source§fn deserialize<D>(d: D) -> Result<ArtifactDebuginfo, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<ArtifactDebuginfo, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ArtifactDebuginfo
impl Display for ArtifactDebuginfo
Source§impl Hash for ArtifactDebuginfo
impl Hash for ArtifactDebuginfo
Source§impl PartialEq for ArtifactDebuginfo
impl PartialEq for ArtifactDebuginfo
Source§impl Serialize for ArtifactDebuginfo
impl Serialize for ArtifactDebuginfo
impl Eq for ArtifactDebuginfo
impl StructuralPartialEq for ArtifactDebuginfo
Auto Trait Implementations§
impl Freeze for ArtifactDebuginfo
impl RefUnwindSafe for ArtifactDebuginfo
impl Send for ArtifactDebuginfo
impl Sync for ArtifactDebuginfo
impl Unpin for ArtifactDebuginfo
impl UnwindSafe for ArtifactDebuginfo
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)