Skip to main content

CreateAttachmentFailure

Trait CreateAttachmentFailure 

Source
pub(super) trait CreateAttachmentFailure:
    From<ApiError>
    + From<MissingFieldError>
    + From<VaultParseError> {
    // Required method
    fn unsupported_file_upload_type() -> Self;
}
Expand description

Failures shared by the user and admin create flows. Each scope implements this for its own error type, so the admin error doesn’t carry repository variants it can never produce.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§