pub enum ViconSdkStatus {
Show 28 variants
Unknown {
code: i32,
},
Unimplemented,
Success,
InvalidHostname,
InvalidMulticastIp,
ClientAlreadyConnected,
ClientConnectionFailed,
ServerAlreadyTransmittingMulticast,
ServerNotTransmittingMulticast,
NotConnected,
NoDataFrame,
InvalidIndex,
InvalidCameraName,
InvalidSubjectName,
InvalidSegmentName,
InvalidMarkerName,
InvalidDeviceName,
InvalidDeviceOutputName,
InvalidLatencySampleRate,
InvalidCoLinearAxes,
LeftHandedAxes,
HapticAlreadySet,
EarlyDataRequested,
LateDataRequested,
InvalidOperation,
Unsupported,
ConfigurationFailed,
NotPresent,
}Expand description
Enumeration of status codes returned by Vicon data stream SDK.
These status codes are derived from
the codes listed in the Vicon SDK’s
CTypeDefs.h file.
Variants§
Unknown
Unimplemented
Success
InvalidHostname
InvalidMulticastIp
ClientAlreadyConnected
ClientConnectionFailed
ServerAlreadyTransmittingMulticast
ServerNotTransmittingMulticast
NotConnected
NoDataFrame
InvalidIndex
InvalidCameraName
InvalidSubjectName
InvalidSegmentName
InvalidMarkerName
InvalidDeviceName
InvalidDeviceOutputName
InvalidLatencySampleRate
InvalidCoLinearAxes
LeftHandedAxes
HapticAlreadySet
EarlyDataRequested
LateDataRequested
InvalidOperation
Unsupported
ConfigurationFailed
NotPresent
Implementations§
Source§impl ViconSdkStatus
impl ViconSdkStatus
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Returns true iff this status
represents a success.
Trait Implementations§
Source§impl Debug for ViconSdkStatus
impl Debug for ViconSdkStatus
Source§impl Display for ViconSdkStatus
impl Display for ViconSdkStatus
Source§impl Error for ViconSdkStatus
impl Error for ViconSdkStatus
Source§impl ErrorCompat for ViconSdkStatus
impl ErrorCompat for ViconSdkStatus
Source§fn iter_chain(&self) -> ChainCompat<'_>where
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_>where
Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to
Error::source. Read moreAuto Trait Implementations§
impl Freeze for ViconSdkStatus
impl RefUnwindSafe for ViconSdkStatus
impl Send for ViconSdkStatus
impl Sync for ViconSdkStatus
impl Unpin for ViconSdkStatus
impl UnwindSafe for ViconSdkStatus
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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