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