#[repr(i64)]pub enum sd_device_action_t {
SD_DEVICE_ADD = 0,
SD_DEVICE_REMOVE = 1,
SD_DEVICE_CHANGE = 2,
SD_DEVICE_MOVE = 3,
SD_DEVICE_ONLINE = 4,
SD_DEVICE_OFFLINE = 5,
SD_DEVICE_BIND = 6,
SD_DEVICE_UNBIND = 7,
_SD_DEVICE_ACTION_MAX = 8,
_SD_DEVICE_ACTION_INVALID = -22,
_SD_ENUM_FORCE_S64_DEVICE_ACTION = 9_223_372_036_854_775_807,
}Variants§
SD_DEVICE_ADD = 0
SD_DEVICE_REMOVE = 1
SD_DEVICE_CHANGE = 2
SD_DEVICE_MOVE = 3
SD_DEVICE_ONLINE = 4
SD_DEVICE_OFFLINE = 5
SD_DEVICE_BIND = 6
SD_DEVICE_UNBIND = 7
_SD_DEVICE_ACTION_MAX = 8
_SD_DEVICE_ACTION_INVALID = -22
_SD_ENUM_FORCE_S64_DEVICE_ACTION = 9_223_372_036_854_775_807
Used to force the underlying type size to 64-bit
Trait Implementations§
Source§impl Clone for sd_device_action_t
impl Clone for sd_device_action_t
Source§fn clone(&self) -> sd_device_action_t
fn clone(&self) -> sd_device_action_t
Returns a duplicate 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 sd_device_action_t
impl Debug for sd_device_action_t
Source§impl Hash for sd_device_action_t
impl Hash for sd_device_action_t
Source§impl PartialEq for sd_device_action_t
impl PartialEq for sd_device_action_t
impl Copy for sd_device_action_t
impl Eq for sd_device_action_t
impl StructuralPartialEq for sd_device_action_t
Auto Trait Implementations§
impl Freeze for sd_device_action_t
impl RefUnwindSafe for sd_device_action_t
impl Send for sd_device_action_t
impl Sync for sd_device_action_t
impl Unpin for sd_device_action_t
impl UnwindSafe for sd_device_action_t
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