#[repr(u32)]pub enum bt_state_e {
BT_STATE_OFF = 0,
BT_STATE_SUSPENDED = 1,
BT_STATE_READY = 2,
BT_STATE_CONNECTED = 3,
BT_STATE_TRANSFERRING = 4,
BT_STATE_ERROR = 5,
BT_STATE_MAX = 6,
}Variants§
BT_STATE_OFF = 0
BT_STATE_SUSPENDED = 1
BT_STATE_READY = 2
BT_STATE_CONNECTED = 3
BT_STATE_TRANSFERRING = 4
BT_STATE_ERROR = 5
BT_STATE_MAX = 6
Trait Implementations§
Source§impl Clone for bt_state_e
impl Clone for bt_state_e
Source§fn clone(&self) -> bt_state_e
fn clone(&self) -> bt_state_e
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 bt_state_e
impl Debug for bt_state_e
Source§impl Hash for bt_state_e
impl Hash for bt_state_e
Source§impl PartialEq for bt_state_e
impl PartialEq for bt_state_e
impl Copy for bt_state_e
impl Eq for bt_state_e
impl StructuralPartialEq for bt_state_e
Auto Trait Implementations§
impl Freeze for bt_state_e
impl RefUnwindSafe for bt_state_e
impl Send for bt_state_e
impl Sync for bt_state_e
impl Unpin for bt_state_e
impl UnwindSafe for bt_state_e
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