pub enum CheckEnvelope {
DeadCode,
Architecture,
}Expand description
The commands that share the dead-code JSON body.
fallow dead-code and fallow architecture serialize the same
CheckOutput and CheckGroupedOutput structs. Only the root kind
and schema_version are different. A closed enum keeps an unknown kind
string off the wire.
Variants§
Implementations§
Source§impl CheckEnvelope
impl CheckEnvelope
Sourcepub const fn grouped_kind(self) -> &'static str
pub const fn grouped_kind(self) -> &'static str
The root kind of the --group-by envelope.
Sourcepub const fn schema_version(self) -> u32
pub const fn schema_version(self) -> u32
The schema_version that the envelope reports.
Trait Implementations§
Source§impl Clone for CheckEnvelope
impl Clone for CheckEnvelope
impl Copy for CheckEnvelope
Source§impl Debug for CheckEnvelope
impl Debug for CheckEnvelope
Source§impl Default for CheckEnvelope
impl Default for CheckEnvelope
impl Eq for CheckEnvelope
Source§impl PartialEq for CheckEnvelope
impl PartialEq for CheckEnvelope
impl StructuralPartialEq for CheckEnvelope
Auto Trait Implementations§
impl Freeze for CheckEnvelope
impl RefUnwindSafe for CheckEnvelope
impl Send for CheckEnvelope
impl Sync for CheckEnvelope
impl Unpin for CheckEnvelope
impl UnsafeUnpin for CheckEnvelope
impl UnwindSafe for CheckEnvelope
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.