pub enum CorbaRustError {
Unsupported {
what: &'static str,
at: usize,
},
UnresolvedType {
scoped: String,
},
DataType(RustGenError),
}Expand description
Error while generating CORBA Rust service code.
Variants§
Unsupported
IDL construct currently not supported by the Rust service codegen.
Fields
UnresolvedType
Type reference could not be resolved.
DataType(RustGenError)
Error from the DataType codegen (idl-rust) passed through.
Trait Implementations§
Source§impl Clone for CorbaRustError
impl Clone for CorbaRustError
Source§fn clone(&self) -> CorbaRustError
fn clone(&self) -> CorbaRustError
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 CorbaRustError
impl Debug for CorbaRustError
Source§impl Display for CorbaRustError
impl Display for CorbaRustError
impl Eq for CorbaRustError
Source§impl Error for CorbaRustError
impl Error for CorbaRustError
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 From<RustGenError> for CorbaRustError
impl From<RustGenError> for CorbaRustError
Source§fn from(e: RustGenError) -> Self
fn from(e: RustGenError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CorbaRustError
impl PartialEq for CorbaRustError
Source§fn eq(&self, other: &CorbaRustError) -> bool
fn eq(&self, other: &CorbaRustError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CorbaRustError
Auto Trait Implementations§
impl Freeze for CorbaRustError
impl RefUnwindSafe for CorbaRustError
impl Send for CorbaRustError
impl Sync for CorbaRustError
impl Unpin for CorbaRustError
impl UnsafeUnpin for CorbaRustError
impl UnwindSafe for CorbaRustError
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