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