Struct stm32wb_hci::vendor::stm32wb::event::AttErrorResponse
source · pub struct AttErrorResponse {
pub conn_handle: ConnectionHandle,
pub request: AttRequest,
pub attribute_handle: AttributeHandle,
pub error: AttError,
}Expand description
The Error Response is used to state that a given request cannot be performed, and to provide the reason. See the Bluetooth Core Specification, v4.1, Vol 3, Part F, Section 3.4.1.1.
Fields§
§conn_handle: ConnectionHandleThe connection handle related to the event.
request: AttRequestThe request that generated this error response.
attribute_handle: AttributeHandleThe attribute handle that generated this error response.
error: AttErrorThe reason why the request has generated an error response.
Trait Implementations§
source§impl Clone for AttErrorResponse
impl Clone for AttErrorResponse
source§fn clone(&self) -> AttErrorResponse
fn clone(&self) -> AttErrorResponse
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 AttErrorResponse
impl Debug for AttErrorResponse
impl Copy for AttErrorResponse
Auto Trait Implementations§
impl RefUnwindSafe for AttErrorResponse
impl Send for AttErrorResponse
impl Sync for AttErrorResponse
impl Unpin for AttErrorResponse
impl UnwindSafe for AttErrorResponse
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