[][src]Struct winrt::windows::foundation::diagnostics::LoggingChannel

pub struct LoggingChannel(_);

Methods

impl LoggingChannel[src]

Methods from Deref<Target = ILoggingChannel>

pub fn get_name(&self) -> Result<HString>[src]

pub fn get_enabled(&self) -> Result<bool>[src]

pub fn get_level(&self) -> Result<LoggingLevel>[src]

pub fn log_message(&self, eventString: &HStringArg) -> Result<()>[src]

pub fn log_message_with_level(
    &self,
    eventString: &HStringArg,
    level: LoggingLevel
) -> Result<()>
[src]

pub fn log_value_pair(&self, value1: &HStringArg, value2: i32) -> Result<()>[src]

pub fn log_value_pair_with_level(
    &self,
    value1: &HStringArg,
    value2: i32,
    level: LoggingLevel
) -> Result<()>
[src]

pub fn add_logging_enabled(
    &self,
    handler: &TypedEventHandler<ILoggingChannel, IInspectable>
) -> Result<EventRegistrationToken>
[src]

pub fn remove_logging_enabled(
    &self,
    token: EventRegistrationToken
) -> Result<()>
[src]

Trait Implementations

impl ComInterface for LoggingChannel[src]

type Vtbl = <ILoggingChannel as ComInterface>::Vtbl

The type that defines the VTable of this interface.

impl ComIid for LoggingChannel[src]

impl RtInterface for LoggingChannel[src]

impl RtClassInterface for LoggingChannel[src]

impl RtType for LoggingChannel[src]

type In = LoggingChannel

type Abi = *mut LoggingChannel

type Out = Option<Self::OutNonNull>

type OutNonNull = ComPtr<LoggingChannel>

unsafe fn unwrap(input: &Self::In) -> Self::Abi[src]

unsafe fn uninitialized() -> Self::Abi[src]

unsafe fn wrap(abi: Self::Abi) -> Self::Out[src]

impl RtNamedClass for LoggingChannel[src]

impl RtActivatable<ILoggingChannelFactory> for LoggingChannel[src]

fn get_activation_factory() -> ComPtr<Interface> where
    Interface: RtInterface + ComIid
[src]

Returns a factory object to create instances of this class or to call static methods.

impl RtActivatable<ILoggingChannelFactory2> for LoggingChannel[src]

fn get_activation_factory() -> ComPtr<Interface> where
    Interface: RtInterface + ComIid
[src]

Returns a factory object to create instances of this class or to call static methods.

impl Deref for LoggingChannel[src]

type Target = ILoggingChannel

The resulting type after dereferencing.

impl DerefMut for LoggingChannel[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]