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§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
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
)