pub enum OperationType {
Show 50 variants
ChipOpen,
ChipWaitInfoEvent,
ChipGetLine,
ChipGetLineInfo,
ChipGetLineOffsetFromName,
ChipGetInfo,
ChipReadInfoEvent,
ChipRequestLines,
ChipWatchLineInfo,
EdgeEventBufferGetEvent,
EdgeEventCopy,
EdgeEventBufferNew,
InfoEventGetLineInfo,
LineConfigNew,
LineConfigAddSettings,
LineConfigSetOutputValues,
LineConfigGetOffsets,
LineConfigGetSettings,
LineInfoCopy,
LineRequestReconfigLines,
LineRequestGetVal,
LineRequestGetValSubset,
LineRequestSetVal,
LineRequestSetValSubset,
LineRequestReadEdgeEvent,
LineRequestWaitEdgeEvent,
LineSettingsNew,
LineSettingsCopy,
LineSettingsGetOutVal,
LineSettingsSetDirection,
LineSettingsSetEdgeDetection,
LineSettingsSetBias,
LineSettingsSetDrive,
LineSettingsSetActiveLow,
LineSettingsSetDebouncePeriod,
LineSettingsSetEventClock,
LineSettingsSetOutputValue,
RequestConfigNew,
RequestConfigGetConsumer,
SimBankGetVal,
SimBankNew,
SimBankSetLabel,
SimBankSetNumLines,
SimBankSetLineName,
SimBankSetPull,
SimBankHogLine,
SimCtxNew,
SimDevNew,
SimDevEnable,
SimDevDisable,
}Expand description
Operation types, used with OperationFailed() Error.
Variants§
ChipOpen
ChipWaitInfoEvent
ChipGetLine
ChipGetLineInfo
ChipGetLineOffsetFromName
ChipGetInfo
ChipReadInfoEvent
ChipRequestLines
ChipWatchLineInfo
EdgeEventBufferGetEvent
EdgeEventCopy
EdgeEventBufferNew
InfoEventGetLineInfo
LineConfigNew
LineConfigAddSettings
LineConfigSetOutputValues
LineConfigGetOffsets
LineConfigGetSettings
LineInfoCopy
LineRequestReconfigLines
LineRequestGetVal
LineRequestGetValSubset
LineRequestSetVal
LineRequestSetValSubset
LineRequestReadEdgeEvent
LineRequestWaitEdgeEvent
LineSettingsNew
LineSettingsCopy
LineSettingsGetOutVal
LineSettingsSetDirection
LineSettingsSetEdgeDetection
LineSettingsSetBias
LineSettingsSetDrive
LineSettingsSetActiveLow
LineSettingsSetDebouncePeriod
LineSettingsSetEventClock
LineSettingsSetOutputValue
RequestConfigNew
RequestConfigGetConsumer
SimBankGetVal
SimBankNew
SimBankSetLabel
SimBankSetNumLines
SimBankSetLineName
SimBankSetPull
SimBankHogLine
SimCtxNew
SimDevNew
SimDevEnable
SimDevDisable
Trait Implementations§
Source§impl Clone for OperationType
impl Clone for OperationType
Source§fn clone(&self) -> OperationType
fn clone(&self) -> OperationType
Returns a copy 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 OperationType
impl Debug for OperationType
Source§impl Display for OperationType
impl Display for OperationType
Source§impl PartialEq for OperationType
impl PartialEq for OperationType
impl Copy for OperationType
impl Eq for OperationType
impl StructuralPartialEq for OperationType
Auto Trait Implementations§
impl Freeze for OperationType
impl RefUnwindSafe for OperationType
impl Send for OperationType
impl Sync for OperationType
impl Unpin for OperationType
impl UnwindSafe for OperationType
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