pub struct PlatformTopologyController { /* private fields */ }Expand description
Manager-owned virtual sink and process membership controller; streams do not own it.
Implementations§
Source§impl PlatformTopologyController
impl PlatformTopologyController
pub fn sink_name(&self) -> &str
pub fn created_links_count(&self) -> u64
pub fn active_links_count(&self) -> u64
pub fn is_finished(&self) -> bool
Sourcepub fn update_targets(
&mut self,
new_targets: Vec<CaptureTarget>,
) -> Result<Vec<Arc<str>>, CapabilityError>
pub fn update_targets( &mut self, new_targets: Vec<CaptureTarget>, ) -> Result<Vec<Arc<str>>, CapabilityError>
Update targets without reopening the stream, retaining shared links and unlinking retired ones.
Trait Implementations§
Source§impl Drop for PlatformTopologyController
impl Drop for PlatformTopologyController
Auto Trait Implementations§
impl !Freeze for PlatformTopologyController
impl RefUnwindSafe for PlatformTopologyController
impl Send for PlatformTopologyController
impl Sync for PlatformTopologyController
impl Unpin for PlatformTopologyController
impl UnsafeUnpin for PlatformTopologyController
impl UnwindSafe for PlatformTopologyController
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