pub enum Ros2ArgsError {
Show 14 variants
InvalidRemapRule(String),
InvalidName {
kind: NameKind,
name: String,
reason: String,
},
InvalidParamAssignment(String),
InvalidYamlValue(String, String),
InvalidLogLevel(String),
InvalidLogLevelAssignment(String),
ParamFileNotFound(PathBuf),
ParamFileParseError(PathBuf, String),
InvalidParamFileStructure(String),
LogConfigFileNotFound(PathBuf),
InvalidEnclavePath(String),
MissingArgumentValue(String),
UnexpectedArgument(String),
IoError(Error),
}Expand description
Errors that can occur during ROS2 argument parsing
Variants§
InvalidRemapRule(String)
Invalid remapping rule format
InvalidName
Invalid ROS2 name (node, topic, namespace, or substitution)
Fields
InvalidParamAssignment(String)
Invalid parameter assignment format
InvalidYamlValue(String, String)
Invalid YAML value in parameter
InvalidLogLevel(String)
Invalid log level
InvalidLogLevelAssignment(String)
Invalid log level assignment format
ParamFileNotFound(PathBuf)
Parameter file not found
ParamFileParseError(PathBuf, String)
Parameter file parsing error
InvalidParamFileStructure(String)
Invalid parameter file structure
LogConfigFileNotFound(PathBuf)
Log configuration file not found
InvalidEnclavePath(String)
Invalid enclave path
MissingArgumentValue(String)
Missing required argument value
UnexpectedArgument(String)
Unexpected argument
IoError(Error)
IO error
Trait Implementations§
Source§impl Debug for Ros2ArgsError
impl Debug for Ros2ArgsError
Source§impl Display for Ros2ArgsError
impl Display for Ros2ArgsError
Source§impl Error for Ros2ArgsError
impl Error for Ros2ArgsError
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 Ros2ArgsError
impl !RefUnwindSafe for Ros2ArgsError
impl Send for Ros2ArgsError
impl Sync for Ros2ArgsError
impl Unpin for Ros2ArgsError
impl UnsafeUnpin for Ros2ArgsError
impl !UnwindSafe for Ros2ArgsError
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