pub enum CreditBasedFlowHandshake {
Unsupported = 0,
SupportedRequest = 15,
SupportedResponse = 14,
}Expand description
The Credit Based Flow Handshake variants defined in RFCOMM Table 5.3.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CreditBasedFlowHandshake
impl Clone for CreditBasedFlowHandshake
impl Copy for CreditBasedFlowHandshake
Source§impl Debug for CreditBasedFlowHandshake
impl Debug for CreditBasedFlowHandshake
impl Eq for CreditBasedFlowHandshake
Source§impl From<&CreditBasedFlowHandshake> for u8
impl From<&CreditBasedFlowHandshake> for u8
Source§fn from(v: &CreditBasedFlowHandshake) -> u8
fn from(v: &CreditBasedFlowHandshake) -> u8
Converts to this type from the input type.
Source§impl Hash for CreditBasedFlowHandshake
impl Hash for CreditBasedFlowHandshake
Source§impl PartialEq for CreditBasedFlowHandshake
impl PartialEq for CreditBasedFlowHandshake
impl StructuralPartialEq for CreditBasedFlowHandshake
Source§impl TryFrom<u8> for CreditBasedFlowHandshake
impl TryFrom<u8> for CreditBasedFlowHandshake
Source§type Error = FrameParseError
type Error = FrameParseError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for CreditBasedFlowHandshake
impl RefUnwindSafe for CreditBasedFlowHandshake
impl Send for CreditBasedFlowHandshake
impl Sync for CreditBasedFlowHandshake
impl Unpin for CreditBasedFlowHandshake
impl UnsafeUnpin for CreditBasedFlowHandshake
impl UnwindSafe for CreditBasedFlowHandshake
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,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more