Enum bt_avdtp::EndpointType
source · pub enum EndpointType {
Source = 0,
Sink = 1,
}
Expand description
Type of endpoint (source or sync) Part of the StreamInformation in Discovery Response. See Section 8.20.3
Variants§
Implementations§
source§impl EndpointType
impl EndpointType
source§impl EndpointType
impl EndpointType
Trait Implementations§
source§impl Clone for EndpointType
impl Clone for EndpointType
source§fn clone(&self) -> EndpointType
fn clone(&self) -> EndpointType
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 EndpointType
impl Debug for EndpointType
source§impl From<&EndpointType> for u8
impl From<&EndpointType> for u8
source§fn from(v: &EndpointType) -> u8
fn from(v: &EndpointType) -> u8
Converts to this type from the input type.
source§impl Hash for EndpointType
impl Hash for EndpointType
source§impl PartialEq for EndpointType
impl PartialEq for EndpointType
source§fn eq(&self, other: &EndpointType) -> bool
fn eq(&self, other: &EndpointType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for EndpointType
impl TryFrom<u8> for EndpointType
impl Copy for EndpointType
impl Eq for EndpointType
impl StructuralPartialEq for EndpointType
Auto Trait Implementations§
impl Freeze for EndpointType
impl RefUnwindSafe for EndpointType
impl Send for EndpointType
impl Sync for EndpointType
impl Unpin for EndpointType
impl UnwindSafe for EndpointType
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