pub enum FrameData {
SetAsynchronousBalancedMode,
UnnumberedAcknowledgement,
DisconnectedMode,
Disconnect,
UnnumberedInfoHeaderCheck(UIHData),
}
Expand description
The types of frames supported in RFCOMM. See RFCOMM 4.2 for the supported frame types.
Variants§
SetAsynchronousBalancedMode
UnnumberedAcknowledgement
DisconnectedMode
Disconnect
UnnumberedInfoHeaderCheck(UIHData)
Implementations§
Trait Implementations§
Source§impl Encodable for FrameData
impl Encodable for FrameData
type Error = FrameParseError
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the number of bytes necessary to encode |self|.
impl StructuralPartialEq for FrameData
Auto Trait Implementations§
impl Freeze for FrameData
impl RefUnwindSafe for FrameData
impl Send for FrameData
impl Sync for FrameData
impl Unpin for FrameData
impl UnwindSafe for FrameData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)