Enum bt_avdtp::ServiceCategory
source · pub enum ServiceCategory {
None = 0,
MediaTransport = 1,
Reporting = 2,
Recovery = 3,
ContentProtection = 4,
HeaderCompression = 5,
Multiplexing = 6,
MediaCodec = 7,
DelayReporting = 8,
}
Expand description
Indicates the signaling command on a command packet. The same identifier is used on the response to that command packet. See Section 8.4.4
Variants§
None = 0
MediaTransport = 1
Reporting = 2
Recovery = 3
ContentProtection = 4
HeaderCompression = 5
Multiplexing = 6
MediaCodec = 7
DelayReporting = 8
Implementations§
Trait Implementations§
source§impl Clone for ServiceCategory
impl Clone for ServiceCategory
source§fn clone(&self) -> ServiceCategory
fn clone(&self) -> ServiceCategory
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 ServiceCategory
impl Debug for ServiceCategory
source§impl From<&ServiceCategory> for u8
impl From<&ServiceCategory> for u8
source§fn from(v: &ServiceCategory) -> u8
fn from(v: &ServiceCategory) -> u8
Converts to this type from the input type.
source§impl Hash for ServiceCategory
impl Hash for ServiceCategory
source§impl Ord for ServiceCategory
impl Ord for ServiceCategory
source§fn cmp(&self, other: &ServiceCategory) -> Ordering
fn cmp(&self, other: &ServiceCategory) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ServiceCategory
impl PartialEq for ServiceCategory
source§fn eq(&self, other: &ServiceCategory) -> bool
fn eq(&self, other: &ServiceCategory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ServiceCategory
impl PartialOrd for ServiceCategory
source§fn partial_cmp(&self, other: &ServiceCategory) -> Option<Ordering>
fn partial_cmp(&self, other: &ServiceCategory) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<u8> for ServiceCategory
impl TryFrom<u8> for ServiceCategory
impl Copy for ServiceCategory
impl Eq for ServiceCategory
impl StructuralEq for ServiceCategory
impl StructuralPartialEq for ServiceCategory
Auto Trait Implementations§
impl RefUnwindSafe for ServiceCategory
impl Send for ServiceCategory
impl Sync for ServiceCategory
impl Unpin for ServiceCategory
impl UnwindSafe for ServiceCategory
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