pub enum AdiDigitalOutputError {
PortsOutOfRange,
PortsNotDigitalOutput,
Unknown(i32),
}Expand description
Represents possible errors for ADI digital output operations.
Variants§
PortsOutOfRange
Port is out of range (1-8).
PortsNotDigitalOutput
Port cannot be configured as an ADI digital output.
Unknown(i32)
Unknown error.
Trait Implementations§
Source§impl Debug for AdiDigitalOutputError
impl Debug for AdiDigitalOutputError
Source§impl From<AdiDigitalOutputError> for Error
impl From<AdiDigitalOutputError> for Error
Source§fn from(err: AdiDigitalOutputError) -> Self
fn from(err: AdiDigitalOutputError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AdiDigitalOutputError
impl RefUnwindSafe for AdiDigitalOutputError
impl Send for AdiDigitalOutputError
impl Sync for AdiDigitalOutputError
impl Unpin for AdiDigitalOutputError
impl UnwindSafe for AdiDigitalOutputError
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