Enum redact_crypto::SourceError [−][src]
pub enum SourceError {
FsIoError {
source: Error,
},
NotFound {
kind: NotFoundKind,
},
FilePathHasNoFileStem {
path: String,
},
FilePathIsInvalidUTF8,
Base64Decode {
source: DecodeError,
},
}Variants
Error occurred while performing IO on the filesystem
Fields of FsIoError
source: ErrorRequested bytes were not found
File path given has an invalid file name with no stem
Fields of FilePathHasNoFileStem
path: StringFile path given was invalid UTF-8
Error happened when decoding base64 string
Fields of Base64Decode
source: DecodeErrorTrait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for SourceError
impl Send for SourceError
impl Sync for SourceError
impl Unpin for SourceError
impl !UnwindSafe for SourceError
Blanket Implementations
fn type_id_compat(&self) -> TypeId
fn type_id_compat(&self) -> TypeId
TODO: once 1.33.0 is the minimum supported compiler version, remove Any::type_id_compat and use StdAny::type_id instead. https://github.com/rust-lang/rust/issues/27745 Read more
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more