Enum bt_avctp::AvcCommandType
source · pub enum AvcCommandType {
Control = 0,
Status = 1,
SpecificInquiry = 2,
Notify = 3,
GeneralInquiry = 4,
}
Expand description
AV/C Command and Response types. See AV/C General Specification Section 5.3.1 and 5.3.2
Variants§
Implementations§
Trait Implementations§
source§impl Clone for CommandType
impl Clone for CommandType
source§fn clone(&self) -> CommandType
fn clone(&self) -> CommandType
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 CommandType
impl Debug for CommandType
source§impl From<&CommandType> for u8
impl From<&CommandType> for u8
source§fn from(v: &CommandType) -> u8
fn from(v: &CommandType) -> u8
Converts to this type from the input type.
source§impl Hash for CommandType
impl Hash for CommandType
source§impl PartialEq for CommandType
impl PartialEq for CommandType
source§fn eq(&self, other: &CommandType) -> bool
fn eq(&self, other: &CommandType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for CommandType
impl TryFrom<u8> for CommandType
impl Copy for CommandType
impl Eq for CommandType
impl StructuralPartialEq for CommandType
Auto Trait Implementations§
impl Freeze for CommandType
impl RefUnwindSafe for CommandType
impl Send for CommandType
impl Sync for CommandType
impl Unpin for CommandType
impl UnwindSafe for CommandType
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