pub struct SimulateGATTOperationResponseParams<'a> { /* private fields */ }Expand description
Simulates the response code from the peripheral with |address| for a GATT operation of |type|. The |code| value follows the HCI Error Codes from Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.
Implementations§
Source§impl<'a> SimulateGATTOperationResponseParams<'a>
impl<'a> SimulateGATTOperationResponseParams<'a>
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for SimulateGATTOperationResponseParams<'a>
impl<'a> CdpCommand<'a> for SimulateGATTOperationResponseParams<'a>
Source§impl<'a> Clone for SimulateGATTOperationResponseParams<'a>
impl<'a> Clone for SimulateGATTOperationResponseParams<'a>
Source§fn clone(&self) -> SimulateGATTOperationResponseParams<'a>
fn clone(&self) -> SimulateGATTOperationResponseParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for SimulateGATTOperationResponseParams<'a>
impl<'a> Debug for SimulateGATTOperationResponseParams<'a>
Source§impl<'a> Default for SimulateGATTOperationResponseParams<'a>
impl<'a> Default for SimulateGATTOperationResponseParams<'a>
Source§fn default() -> SimulateGATTOperationResponseParams<'a>
fn default() -> SimulateGATTOperationResponseParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for SimulateGATTOperationResponseParams<'a>
impl<'de, 'a> Deserialize<'de> for SimulateGATTOperationResponseParams<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for SimulateGATTOperationResponseParams<'a>
impl<'a> RefUnwindSafe for SimulateGATTOperationResponseParams<'a>
impl<'a> Send for SimulateGATTOperationResponseParams<'a>
impl<'a> Sync for SimulateGATTOperationResponseParams<'a>
impl<'a> Unpin for SimulateGATTOperationResponseParams<'a>
impl<'a> UnsafeUnpin for SimulateGATTOperationResponseParams<'a>
impl<'a> UnwindSafe for SimulateGATTOperationResponseParams<'a>
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