pub enum BindGenError {
CouldNotReadDefinitionsDirectory {
source: Error,
path: PathBuf,
},
CouldNotReadDefinitionFile {
source: Error,
path: PathBuf,
},
CouldNotReadDirectoryEntryInDefinitionsDirectory {
source: Error,
path: PathBuf,
},
CouldNotCreateRustBindingsFile {
source: Error,
dest_path: PathBuf,
},
}
Variants§
CouldNotReadDefinitionsDirectory
Represents a failure to read the MAVLink definitions directory.
CouldNotReadDefinitionFile
Represents a failure to read a MAVLink definition file.
CouldNotReadDirectoryEntryInDefinitionsDirectory
Represents a failure to read a directory entry in the MAVLink definitions directory.
CouldNotCreateRustBindingsFile
Represents a failure to create a Rust file for the generated MAVLink bindings.
Trait Implementations§
Source§impl Debug for BindGenError
impl Debug for BindGenError
Source§impl Display for BindGenError
impl Display for BindGenError
Source§impl Error for BindGenError
impl Error for BindGenError
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 BindGenError
impl !RefUnwindSafe for BindGenError
impl Send for BindGenError
impl Sync for BindGenError
impl Unpin for BindGenError
impl !UnwindSafe for BindGenError
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