#[repr(transparent)]pub struct QarPeerRole(pub c_int);Expand description
@brief What a peer is in the streaming graph (qar_peer_spec_get_role()).
Code branches on the role; it never grows for a new device. An application using this API is always QAR_PEER_ROLE_SOURCE. Render for peers whose role is QAR_PEER_ROLE_TARGET.
Tuple Fields§
§0: c_intImplementations§
Source§impl QarPeerRole
impl QarPeerRole
Sourcepub const QAR_PEER_ROLE_INTERNAL: QarPeerRole
pub const QAR_PEER_ROLE_INTERNAL: QarPeerRole
QAROS pipeline infrastructure the hub launched itself (mixer, conversion).
Sourcepub const QAR_PEER_ROLE_SOURCE: QarPeerRole
pub const QAR_PEER_ROLE_SOURCE: QarPeerRole
Provides content: a source application or a camera capture process.
Sourcepub const QAR_PEER_ROLE_TARGET: QarPeerRole
pub const QAR_PEER_ROLE_TARGET: QarPeerRole
Shows content: a headset’s serving app, a Visualizer receiver, a camera’s receiver slot. These are the peers a source renders for.
Sourcepub const QAR_PEER_ROLE_RUNTIME: QarPeerRole
pub const QAR_PEER_ROLE_RUNTIME: QarPeerRole
A QAROS runtime (hub) process.
Sourcepub const QAR_PEER_ROLE_CONTROL: QarPeerRole
pub const QAR_PEER_ROLE_CONTROL: QarPeerRole
The operator’s Visualizer control session.
Trait Implementations§
Source§impl Clone for QarPeerRole
impl Clone for QarPeerRole
impl Copy for QarPeerRole
Source§impl Debug for QarPeerRole
impl Debug for QarPeerRole
impl Eq for QarPeerRole
Source§impl Hash for QarPeerRole
impl Hash for QarPeerRole
Source§impl PartialEq for QarPeerRole
impl PartialEq for QarPeerRole
impl StructuralPartialEq for QarPeerRole
Auto Trait Implementations§
impl Freeze for QarPeerRole
impl RefUnwindSafe for QarPeerRole
impl Send for QarPeerRole
impl Sync for QarPeerRole
impl Unpin for QarPeerRole
impl UnsafeUnpin for QarPeerRole
impl UnwindSafe for QarPeerRole
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