pub enum AttRsp<'d> {
ExchangeMtu {
mtu: u16,
},
FindByTypeValue {
it: FindByTypeValueIter<'d>,
},
Error {
request: u8,
handle: u16,
code: AttErrorCode,
},
ReadByType {
it: ReadByTypeIter<'d>,
},
Read {
data: &'d [u8],
},
Write,
}
Expand description
ATT Response PDU
Variants§
ExchangeMtu
Exchange MTU Response
FindByTypeValue
Find By Type Value Response
Fields
§
it: FindByTypeValueIter<'d>
Iterator over the found handles
Error
Error Response
ReadByType
Read Response
Fields
§
it: ReadByTypeIter<'d>
Iterator over the found handles
Read
Read Response
Write
Write Response
Trait Implementations§
Auto Trait Implementations§
impl<'d> Freeze for AttRsp<'d>
impl<'d> RefUnwindSafe for AttRsp<'d>
impl<'d> Send for AttRsp<'d>
impl<'d> Sync for AttRsp<'d>
impl<'d> Unpin for AttRsp<'d>
impl<'d> UnwindSafe for AttRsp<'d>
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