pub type ResponsePacket = Packet<ResponseCode>;Expand description
An OBEX response packet. Defined in OBEX 1.5 Section 3.2.
Aliased Type§
pub struct ResponsePacket { /* private fields */ }Implementations§
Source§impl ResponsePacket
impl ResponsePacket
Sourcepub fn new_empty(code: ResponseCode) -> Self
pub fn new_empty(code: ResponseCode) -> Self
Creates a response packet with the given response code and no data or headers.