pub struct ManagerInput { /* private fields */ }Expand description
Channel for sending InputEvents to Manager.
Implementations§
Source§impl ManagerInput
impl ManagerInput
Sourcepub fn send(&self, event: InputEvent) -> Result<(), InternalError>
pub fn send(&self, event: InputEvent) -> Result<(), InternalError>
Sends an input event to the manager’s task to be processed.
Sourcepub async fn publish_track(
&self,
options: DataTrackOptions,
) -> Result<LocalDataTrack, PublishError>
pub async fn publish_track( &self, options: DataTrackOptions, ) -> Result<LocalDataTrack, PublishError>
Publishes a data track with given options.
Sourcepub async fn query_tracks(&self) -> Vec<Arc<DataTrackInfo>>
pub async fn query_tracks(&self) -> Vec<Arc<DataTrackInfo>>
Get information about all currently published tracks.
This does not include publications that are still pending.
Trait Implementations§
Source§impl Clone for ManagerInput
impl Clone for ManagerInput
Source§fn clone(&self) -> ManagerInput
fn clone(&self) -> ManagerInput
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ManagerInput
impl RefUnwindSafe for ManagerInput
impl Send for ManagerInput
impl Sync for ManagerInput
impl Unpin for ManagerInput
impl UnsafeUnpin for ManagerInput
impl UnwindSafe for ManagerInput
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