[−][src]Struct rustmo_devices::sony::receivers::str_za5000_es::Device
Methods
impl Device
[src]
https://www.sony.com/electronics/av-receivers/str-za5000es
pub fn new(ip_address: IpAddr) -> Self
[src]
pub fn get_video_input(&mut self) -> Result<VideoInput, VirtualDeviceError>
[src]
pub fn set_video_input(
&mut self,
input: &VideoInput
) -> Result<VirtualDeviceState, VirtualDeviceError>
[src]
&mut self,
input: &VideoInput
) -> Result<VirtualDeviceState, VirtualDeviceError>
pub fn volume_up(&mut self) -> Result<VirtualDeviceState, VirtualDeviceError>
[src]
pub fn volume_down(&mut self) -> Result<VirtualDeviceState, VirtualDeviceError>
[src]
pub fn toggle_mute(&mut self) -> Result<VirtualDeviceState, VirtualDeviceError>
[src]
pub fn check_is_muted(
&mut self
) -> Result<VirtualDeviceState, VirtualDeviceError>
[src]
&mut self
) -> Result<VirtualDeviceState, VirtualDeviceError>
Trait Implementations
impl Clone for Device
[src]
impl Copy for Device
[src]
impl VirtualDevice for Device
[src]
fn turn_on(&mut self) -> Result<VirtualDeviceState, VirtualDeviceError>
[src]
fn turn_off(&mut self) -> Result<VirtualDeviceState, VirtualDeviceError>
[src]
fn check_is_on(&mut self) -> Result<VirtualDeviceState, VirtualDeviceError>
[src]
Auto Trait Implementations
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
impl RefUnwindSafe for Device
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,