pub struct PortWatcher { /* private fields */ }Implementations§
Source§impl PortWatcher
impl PortWatcher
pub fn new() -> Result<PortWatcher, Error>
Sourcepub fn candidates(&self) -> &[Candidate]
pub fn candidates(&self) -> &[Candidate]
Every synth port present right now.
Sourcepub fn drain_changes(&mut self) -> Vec<Change>
pub fn drain_changes(&mut self) -> Vec<Change>
Read pending announcements; returns each synth port that came or went.
Auto Trait Implementations§
impl !Freeze for PortWatcher
impl !RefUnwindSafe for PortWatcher
impl !Sync for PortWatcher
impl !UnwindSafe for PortWatcher
impl Send for PortWatcher
impl Unpin for PortWatcher
impl UnsafeUnpin for PortWatcher
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