pub enum LaunchTextError {
EmptyList,
MixedList,
DoesNotFit,
Malformed,
}Expand description
Why a baked text has no value to seed.
Variants§
EmptyList
[]. ROS gives an empty sequence no value: rcl’s file parser
allocates a sequence on its first element and never for [], and
launch_ros refuses an inline value="[]" (“Expected a non-empty
sequence”). There is no element type to give it, so a seeder leaves
the declaration’s default standing.
MixedList
A list whose elements are not all one type ([1, 2.5], [1, a]).
rcl refuses the file and launch_ros refuses the inline value.
DoesNotFit
A string past MAX_STRING_VALUE_LEN, or a list past MAX_ARRAY_LEN
(MAX_STRING_ARRAY_LEN for a list of strings).
Malformed
An unterminated quote or a stray character after a quoted element.
Trait Implementations§
Source§impl Clone for LaunchTextError
impl Clone for LaunchTextError
Source§fn clone(&self) -> LaunchTextError
fn clone(&self) -> LaunchTextError
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 moreimpl Copy for LaunchTextError
Source§impl Debug for LaunchTextError
impl Debug for LaunchTextError
impl Eq for LaunchTextError
Source§impl PartialEq for LaunchTextError
impl PartialEq for LaunchTextError
impl StructuralPartialEq for LaunchTextError
Auto Trait Implementations§
impl Freeze for LaunchTextError
impl RefUnwindSafe for LaunchTextError
impl Send for LaunchTextError
impl Sync for LaunchTextError
impl Unpin for LaunchTextError
impl UnsafeUnpin for LaunchTextError
impl UnwindSafe for LaunchTextError
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