Enum viceroy_lib::error::DictionaryConfigError [−][src]
pub enum DictionaryConfigError {
Show 19 variants
IoError {
name: String,
error: String,
},
InvalidEntryType,
InvalidName(String),
InvalidNameEntry,
InvalidDictionaryFileFormat(String),
EmptyFileEntry,
EmptyFormatEntry,
InvalidFileEntry,
InvalidFormatEntry,
MissingDefault,
MissingName,
MissingFile,
MissingFormat,
UnrecognizedKey(String),
DictionaryItemKeyTooLong {
key: String,
name: String,
size: i32,
},
DictionaryCountTooLong {
name: String,
size: i32,
},
DictionaryItemValueWrongFormat {
key: String,
name: String,
},
DictionaryItemValueTooLong {
key: String,
name: String,
size: i32,
},
DictionaryFileWrongFormat {
name: String,
},
}Expand description
Errors that may occur while validating dictionary configurations.
Variants
An I/O error that occured while reading the file.
InvalidName(String)Tuple Fields of InvalidName
0: StringInvalidDictionaryFileFormat(String)Tuple Fields of InvalidDictionaryFileFormat
0: StringUnrecognizedKey(String)Tuple Fields of UnrecognizedKey
0: StringFields of DictionaryFileWrongFormat
name: StringTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DictionaryConfigError
impl Send for DictionaryConfigError
impl Sync for DictionaryConfigError
impl Unpin for DictionaryConfigError
impl UnwindSafe for DictionaryConfigError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn get_fd_flags(&self) -> Result<FdFlags, Error> where
T: AsFilelike,
pub fn get_fd_flags(&self) -> Result<FdFlags, Error> where
T: AsFilelike,
Query the “status” flags for the self file descriptor.
pub fn new_set_fd_flags(
&self,
fd_flags: FdFlags
) -> Result<SetFdFlags<T>, Error> where
T: AsFilelike,
pub fn new_set_fd_flags(
&self,
fd_flags: FdFlags
) -> Result<SetFdFlags<T>, Error> where
T: AsFilelike,
Create a new SetFdFlags value for use with set_fd_flags. Read more
pub fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error> where
T: AsFilelike,
pub fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error> where
T: AsFilelike,
Set the “status” flags for the self file descriptor. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. 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
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