windows::Win32::Devices::Tapi

Trait ITPhoneEvent_Impl

pub trait ITPhoneEvent_Impl: IDispatch_Impl {
    // Required methods
    fn Phone(&self) -> Result<ITPhone>;
    fn Event(&self) -> Result<PHONE_EVENT>;
    fn ButtonState(&self) -> Result<PHONE_BUTTON_STATE>;
    fn HookSwitchState(&self) -> Result<PHONE_HOOK_SWITCH_STATE>;
    fn HookSwitchDevice(&self) -> Result<PHONE_HOOK_SWITCH_DEVICE>;
    fn RingMode(&self) -> Result<i32>;
    fn ButtonLampId(&self) -> Result<i32>;
    fn NumberGathered(&self) -> Result<BSTR>;
    fn Call(&self) -> Result<ITCallInfo>;
}

Required Methods§

fn Phone(&self) -> Result<ITPhone>

fn Event(&self) -> Result<PHONE_EVENT>

fn ButtonState(&self) -> Result<PHONE_BUTTON_STATE>

fn HookSwitchState(&self) -> Result<PHONE_HOOK_SWITCH_STATE>

fn HookSwitchDevice(&self) -> Result<PHONE_HOOK_SWITCH_DEVICE>

fn RingMode(&self) -> Result<i32>

fn ButtonLampId(&self) -> Result<i32>

fn NumberGathered(&self) -> Result<BSTR>

fn Call(&self) -> Result<ITCallInfo>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§