pub struct Control { /* private fields */ }Implementations§
Source§impl Control
impl Control
pub fn get_input_mode_stream( &self, ) -> Result<Stream<ControlInputMode>, RpcError>
pub fn get_input_mode(&self) -> Result<ControlInputMode, RpcError>
Source§impl Control
impl Control
pub fn get_source_stream(&self) -> Result<Stream<ControlSource>, RpcError>
pub fn get_source(&self) -> Result<ControlSource, RpcError>
Source§impl Control
impl Control
pub fn get_state_stream(&self) -> Result<Stream<ControlState>, RpcError>
pub fn get_state(&self) -> Result<ControlState, RpcError>
Source§impl Control
impl Control
pub fn set_input_mode_stream( &self, value: ControlInputMode, ) -> Result<Stream<()>, RpcError>
pub fn set_input_mode(&self, value: ControlInputMode) -> Result<(), RpcError>
Auto Trait Implementations§
impl Freeze for Control
impl RefUnwindSafe for Control
impl Send for Control
impl Sync for Control
impl Unpin for Control
impl UnwindSafe for Control
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