Enum lib_gistit::errors::file::FileError [−][src]
pub enum FileError {
UnsupportedExtension(String),
UnsupportedSize(u64),
NotAFile(String),
MissingExtension,
InvalidEncryptionPadding,
}
Variants
UnsupportedExtension(String)
Tuple Fields
0: String
File extension doesn’t match supported ones
UnsupportedSize(u64)
Tuple Fields
0: u64
File size is outside allowed range
NotAFile(String)
Tuple Fields
0: String
File is not a file
MissingExtension
File has weird extensions
InvalidEncryptionPadding
Invalid embedded hmac/padding
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FileError
impl UnwindSafe for FileError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more