pub enum OpcUaError {
UnexpectedVariantType {
variant_id: Option<VariantScalarTypeId>,
message: String,
},
NamespaceDoesNotExist(String),
StatusCodeError(StatusCode),
Error(Error),
RelativePathError(RelativePathError),
}Expand description
Rust OpcUa specific errors
Variants§
UnexpectedVariantType
NamespaceDoesNotExist(String)
StatusCodeError(StatusCode)
Error(Error)
RelativePathError(RelativePathError)
Trait Implementations§
Source§impl Debug for OpcUaError
impl Debug for OpcUaError
Source§impl Display for OpcUaError
impl Display for OpcUaError
Source§impl Error for OpcUaError
impl Error for OpcUaError
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<Error> for OpcUaError
impl From<Error> for OpcUaError
Source§impl From<RelativePathError> for OpcUaError
impl From<RelativePathError> for OpcUaError
Source§fn from(value: RelativePathError) -> Self
fn from(value: RelativePathError) -> Self
Converts to this type from the input type.
Source§impl From<StatusCode> for OpcUaError
impl From<StatusCode> for OpcUaError
Source§fn from(value: StatusCode) -> Self
fn from(value: StatusCode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OpcUaError
impl !RefUnwindSafe for OpcUaError
impl Send for OpcUaError
impl Sync for OpcUaError
impl Unpin for OpcUaError
impl !UnwindSafe for OpcUaError
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