#[non_exhaustive]pub enum RetainedNativeEvidenceEvent {
Value(Vec<Sourced<ProtectedString>>),
Reset(Vec<Sourced<ProtectedString>>),
}Expand description
One authored opaque native occurrence retained in source order.
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.
Value(Vec<Sourced<ProtectedString>>)
Protected physical source segments for one non-reset assignment.
Reset(Vec<Sourced<ProtectedString>>)
Protected physical source segments for an assignment with native reset semantics.
Implementations§
Source§impl RetainedNativeEvidenceEvent
impl RetainedNativeEvidenceEvent
Sourcepub fn physical_segments(&self) -> &[Sourced<ProtectedString>]
pub fn physical_segments(&self) -> &[Sourced<ProtectedString>]
Returns exact physical value segments in authored order.
Trait Implementations§
Source§impl Clone for RetainedNativeEvidenceEvent
impl Clone for RetainedNativeEvidenceEvent
Source§impl Debug for RetainedNativeEvidenceEvent
impl Debug for RetainedNativeEvidenceEvent
impl Eq for RetainedNativeEvidenceEvent
impl StructuralPartialEq for RetainedNativeEvidenceEvent
Auto Trait Implementations§
impl Freeze for RetainedNativeEvidenceEvent
impl RefUnwindSafe for RetainedNativeEvidenceEvent
impl Send for RetainedNativeEvidenceEvent
impl Sync for RetainedNativeEvidenceEvent
impl Unpin for RetainedNativeEvidenceEvent
impl UnsafeUnpin for RetainedNativeEvidenceEvent
impl UnwindSafe for RetainedNativeEvidenceEvent
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