pub enum BootConfigError {
DomainIdParse,
DomainIdRange,
}Expand description
RFC-0045 / issue #206 — boot-config resolution error. Malformed or
out-of-range identity input (env or baked) is an ERROR, never a silent
fallback: a typo’d ROS_DOMAIN_ID must not invisibly move a node to
domain 0 (the pre-#206 C++ behavior) or be silently ignored (the
pre-#206 behavior of this resolver).
Variants§
DomainIdParse
ROS_DOMAIN_ID env var set but not a decimal integer.
DomainIdRange
Domain ID (env or baked) exceeds DOMAIN_ID_MAX.
Trait Implementations§
Source§impl Clone for BootConfigError
impl Clone for BootConfigError
Source§fn clone(&self) -> BootConfigError
fn clone(&self) -> BootConfigError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BootConfigError
impl Debug for BootConfigError
Source§impl Display for BootConfigError
impl Display for BootConfigError
Source§impl PartialEq for BootConfigError
impl PartialEq for BootConfigError
Source§fn eq(&self, other: &BootConfigError) -> bool
fn eq(&self, other: &BootConfigError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BootConfigError
impl Eq for BootConfigError
impl StructuralPartialEq for BootConfigError
Auto Trait Implementations§
impl Freeze for BootConfigError
impl RefUnwindSafe for BootConfigError
impl Send for BootConfigError
impl Sync for BootConfigError
impl Unpin for BootConfigError
impl UnsafeUnpin for BootConfigError
impl UnwindSafe for BootConfigError
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