[][src]Trait structural::field::errors::IsFieldErr

pub trait IsFieldErr: Sealed + 'static + Copy + Cloned { }

Marker trait for the errors that can be returned from the RevGetField trait and subtraits.

The errors can be:

  • InfallibleAccess: For Rev* accessors that return a field that always exists, most often in a struct. Because the field always exists this error is never actually returned.

  • FailedAccess: For Rev* accessors that failed to return a field that may not exist, most often inside an enum.

This trait is sealed,and cannot be implemented outside of the structural crate.

Implementors

impl IsFieldErr for InfallibleAccess[src]

impl IsFieldErr for FailedAccess[src]

Loading content...