pub enum SwiftTypeMetadataSymbolEvidence {
NotTypeMetadata,
Metadata(SwiftTypeMetadataIdentity),
Unsupported {
detail: String,
},
Malformed {
detail: String,
},
}Expand description
Strict classification of one possible emitted Swift type-metadata symbol.
The parser’s third-party syntax tree remains private to this crate. Callers receive only Macho-owned, forward-closed evidence and cannot accidentally couple policy code to parser implementation details.
Variants§
NotTypeMetadata
The name is not an emitted type-metadata symbol.
Metadata(SwiftTypeMetadataIdentity)
The name carries one supported, already-materialized nominal identity.
Unsupported
The symbol is structurally metadata, but its nominal kind is unsupported.
Malformed
The name has the emitted-metadata shape but cannot be decoded.
Trait Implementations§
impl Eq for SwiftTypeMetadataSymbolEvidence
impl StructuralPartialEq for SwiftTypeMetadataSymbolEvidence
Auto Trait Implementations§
impl Freeze for SwiftTypeMetadataSymbolEvidence
impl RefUnwindSafe for SwiftTypeMetadataSymbolEvidence
impl Send for SwiftTypeMetadataSymbolEvidence
impl Sync for SwiftTypeMetadataSymbolEvidence
impl Unpin for SwiftTypeMetadataSymbolEvidence
impl UnsafeUnpin for SwiftTypeMetadataSymbolEvidence
impl UnwindSafe for SwiftTypeMetadataSymbolEvidence
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