pub enum PlacementCapability {
RunNodeOnServer,
RunNodeOnLanPeer,
RemoteRender,
HostDevice,
}Expand description
Capability a peer must hold to place work across the stream fabric.
Each variant maps to a stable wire label and a kernel CapabilityName,
gating where a node may run (server or LAN peer), whether it may render
remotely, and whether it may reach a host audio/IO device.
Variants§
RunNodeOnServer
Run a placed node on the server site.
RunNodeOnLanPeer
Run a placed node on a LAN peer site.
RemoteRender
Render a fragment remotely and return the result.
HostDevice
Reach a host device (audio, /dev, hardware port) during placement.
Implementations§
Source§impl PlacementCapability
impl PlacementCapability
Sourcepub fn wire_label(self) -> &'static str
pub fn wire_label(self) -> &'static str
Returns the stable wire label string for this capability.
Sourcepub fn capability(self) -> CapabilityName
pub fn capability(self) -> CapabilityName
Returns the kernel capability name this placement capability requires.
Trait Implementations§
Source§impl Clone for PlacementCapability
impl Clone for PlacementCapability
Source§fn clone(&self) -> PlacementCapability
fn clone(&self) -> PlacementCapability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PlacementCapability
Source§impl Debug for PlacementCapability
impl Debug for PlacementCapability
impl Eq for PlacementCapability
Source§impl PartialEq for PlacementCapability
impl PartialEq for PlacementCapability
Source§fn eq(&self, other: &PlacementCapability) -> bool
fn eq(&self, other: &PlacementCapability) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PlacementCapability
Auto Trait Implementations§
impl Freeze for PlacementCapability
impl RefUnwindSafe for PlacementCapability
impl Send for PlacementCapability
impl Sync for PlacementCapability
impl Unpin for PlacementCapability
impl UnsafeUnpin for PlacementCapability
impl UnwindSafe for PlacementCapability
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