pub enum AasError {
Masking(String),
}Expand description
Why an AAS projection could not be built.
Variants§
Masking(String)
The passport did not survive a masking round-trip. Structural, not a permissions failure: the disclosure policy removed a field the passport requires to exist, so no honest projection can be produced for that audience. Fails closed rather than emitting a partial shell.
Trait Implementations§
Source§impl Error for AasError
impl Error for AasError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for AasError
impl RefUnwindSafe for AasError
impl Send for AasError
impl Sync for AasError
impl Unpin for AasError
impl UnsafeUnpin for AasError
impl UnwindSafe for AasError
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