pub enum PeerRole {
Internal,
Source,
Target,
Runtime,
Control,
Other(i64),
}Expand description
What a peer is in the streaming graph (QarPeerRole). A source renders for the
PeerRole::Target peers. A value the header does not name is PeerRole::Other.
Variants§
Internal
QAROS pipeline infrastructure the hub launched itself.
Source
A source application or a camera capture process (every application using this API).
Target
Shows content: a headset’s serving app, a Visualizer receiver, a camera’s receiver slot.
Runtime
A QAROS runtime (hub) process.
Control
The operator’s Visualizer control session.
Other(i64)
A value the header does not name.
Trait Implementations§
impl Copy for PeerRole
impl Eq for PeerRole
impl StructuralPartialEq for PeerRole
Auto Trait Implementations§
impl Freeze for PeerRole
impl RefUnwindSafe for PeerRole
impl Send for PeerRole
impl Sync for PeerRole
impl Unpin for PeerRole
impl UnsafeUnpin for PeerRole
impl UnwindSafe for PeerRole
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