pub enum RustGenError {
Unsupported {
what: &'static str,
at: usize,
},
InvalidAnnotation {
name: String,
reason: &'static str,
},
UnresolvedType {
scoped: String,
},
}Expand description
Fehler beim Erzeugen von Rust-Code aus dem IDL-AST.
Variants§
Unsupported
IDL-Konstrukt wird vom Rust-Codegen aktuell nicht unterstuetzt.
Ist kein Spec-Bug — manche IDL-Features (Fixed, Map, Any, Bitset, Bitmask, Valuetype, Interface, Component, Home) sind ausserhalb des DDS-DataType-Pfades. Wer DDS-DataTypes generiert braucht sie nicht.
Fields
InvalidAnnotation
Annotation-Wert konnte nicht ausgewertet werden.
UnresolvedType
Type-Reference konnte nicht aufgeloest werden.
Trait Implementations§
Source§impl Clone for RustGenError
impl Clone for RustGenError
Source§fn clone(&self) -> RustGenError
fn clone(&self) -> RustGenError
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 RustGenError
impl Debug for RustGenError
Source§impl Display for RustGenError
impl Display for RustGenError
Source§impl Error for RustGenError
impl Error for RustGenError
1.30.0 · 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()
Source§impl PartialEq for RustGenError
impl PartialEq for RustGenError
Source§fn eq(&self, other: &RustGenError) -> bool
fn eq(&self, other: &RustGenError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RustGenError
impl StructuralPartialEq for RustGenError
Auto Trait Implementations§
impl Freeze for RustGenError
impl RefUnwindSafe for RustGenError
impl Send for RustGenError
impl Sync for RustGenError
impl Unpin for RustGenError
impl UnsafeUnpin for RustGenError
impl UnwindSafe for RustGenError
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