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: ConnectionHandle
The connection handle related to the event.
request: AttRequest
The request that generated this error response.
attribute_handle: AttributeHandle
The attribute handle that generated this error response.
error: AttError
The 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 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 AttErrorResponse
impl Debug for AttErrorResponse
impl Copy for AttErrorResponse
Auto Trait Implementations§
impl Freeze for AttErrorResponse
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