pub enum LVInteropError {
LabviewMgError(MgError),
InternalError(InternalError),
LabviewError(LVStatusCode),
}
Variants§
Trait Implementations§
Source§impl Clone for LVInteropError
impl Clone for LVInteropError
Source§fn clone(&self) -> LVInteropError
fn clone(&self) -> LVInteropError
Returns a duplicate of the value. Read more
1.0.0 · 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 LVInteropError
impl Debug for LVInteropError
Source§impl Display for LVInteropError
impl Display for LVInteropError
Source§impl Error for LVInteropError
impl Error for LVInteropError
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<&LVInteropError> for LVStatusCode
impl From<&LVInteropError> for LVStatusCode
Source§fn from(value: &LVInteropError) -> Self
fn from(value: &LVInteropError) -> Self
Converts to this type from the input type.
Source§impl From<InternalError> for LVInteropError
impl From<InternalError> for LVInteropError
Source§fn from(source: InternalError) -> Self
fn from(source: InternalError) -> Self
Converts to this type from the input type.
Source§impl From<LVInteropError> for LVStatusCode
impl From<LVInteropError> for LVStatusCode
Source§fn from(value: LVInteropError) -> Self
fn from(value: LVInteropError) -> Self
Converts to this type from the input type.
Source§impl From<LVStatusCode> for LVInteropError
impl From<LVStatusCode> for LVInteropError
Source§fn from(status: LVStatusCode) -> Self
fn from(status: LVStatusCode) -> Self
Converts to this type from the input type.
Source§impl From<MgError> for LVInteropError
impl From<MgError> for LVInteropError
Source§impl PartialEq for LVInteropError
impl PartialEq for LVInteropError
Source§impl ToLvError for LVInteropError
impl ToLvError for LVInteropError
Source§fn code(&self) -> LVStatusCode
fn code(&self) -> LVStatusCode
The code for the error. Default is 42.
Source§fn description(&self) -> Cow<'_, str>
fn description(&self) -> Cow<'_, str>
The description of the error;
Source§fn write_error(&self, error_cluster: &mut ErrorClusterPtr<'_>) -> Result<()>
fn write_error(&self, error_cluster: &mut ErrorClusterPtr<'_>) -> Result<()>
Write into the LabVIEW Error Pointer. Read more
impl StructuralPartialEq for LVInteropError
Auto Trait Implementations§
impl Freeze for LVInteropError
impl RefUnwindSafe for LVInteropError
impl Send for LVInteropError
impl Sync for LVInteropError
impl Unpin for LVInteropError
impl UnwindSafe for LVInteropError
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