pub enum FrameTypeMarker {
SetAsynchronousBalancedMode = 47,
UnnumberedAcknowledgement = 99,
DisconnectedMode = 15,
Disconnect = 67,
UnnumberedInfoHeaderCheck = 239,
}
Expand description
The type of frame provided in the Control field. The P/F bit is set to 0 for all frame types. See table 2, GSM 07.10 Section 5.2.1.3 and RFCOMM 4.2.
Variants§
SetAsynchronousBalancedMode = 47
UnnumberedAcknowledgement = 99
DisconnectedMode = 15
Disconnect = 67
UnnumberedInfoHeaderCheck = 239
Implementations§
Trait Implementations§
Source§impl Clone for FrameTypeMarker
impl Clone for FrameTypeMarker
Source§fn clone(&self) -> FrameTypeMarker
fn clone(&self) -> FrameTypeMarker
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 FrameTypeMarker
impl Debug for FrameTypeMarker
Source§impl From<&FrameTypeMarker> for u8
impl From<&FrameTypeMarker> for u8
Source§fn from(v: &FrameTypeMarker) -> u8
fn from(v: &FrameTypeMarker) -> u8
Converts to this type from the input type.
Source§impl Hash for FrameTypeMarker
impl Hash for FrameTypeMarker
Source§impl PartialEq for FrameTypeMarker
impl PartialEq for FrameTypeMarker
Source§impl TryFrom<u8> for FrameTypeMarker
impl TryFrom<u8> for FrameTypeMarker
Source§type Error = FrameParseError
type Error = FrameParseError
The type returned in the event of a conversion error.
impl Copy for FrameTypeMarker
impl Eq for FrameTypeMarker
impl StructuralPartialEq for FrameTypeMarker
Auto Trait Implementations§
impl Freeze for FrameTypeMarker
impl RefUnwindSafe for FrameTypeMarker
impl Send for FrameTypeMarker
impl Sync for FrameTypeMarker
impl Unpin for FrameTypeMarker
impl UnwindSafe for FrameTypeMarker
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
)