[−][src]Struct winrt::windows::foundation::diagnostics::LoggingChannel
Methods
impl LoggingChannel
[src]
pub fn create(name: &HStringArg) -> Result<ComPtr<LoggingChannel>>
[src]
pub fn create_with_options(
name: &HStringArg,
options: &LoggingChannelOptions
) -> Result<ComPtr<LoggingChannel>>
[src]
name: &HStringArg,
options: &LoggingChannelOptions
) -> Result<ComPtr<LoggingChannel>>
pub fn create_with_options_and_id(
name: &HStringArg,
options: &LoggingChannelOptions,
id: Guid
) -> Result<ComPtr<LoggingChannel>>
[src]
name: &HStringArg,
options: &LoggingChannelOptions,
id: Guid
) -> Result<ComPtr<LoggingChannel>>
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]
&self,
eventString: &HStringArg,
level: LoggingLevel
) -> Result<()>
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]
&self,
value1: &HStringArg,
value2: i32,
level: LoggingLevel
) -> Result<()>
pub fn add_logging_enabled(
&self,
handler: &TypedEventHandler<ILoggingChannel, IInspectable>
) -> Result<EventRegistrationToken>
[src]
&self,
handler: &TypedEventHandler<ILoggingChannel, IInspectable>
) -> Result<EventRegistrationToken>
pub fn remove_logging_enabled(
&self,
token: EventRegistrationToken
) -> Result<()>
[src]
&self,
token: EventRegistrationToken
) -> Result<()>
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]
fn name() -> &'static [u16]
[src]
impl RtActivatable<ILoggingChannelFactory> for LoggingChannel
[src]
fn get_activation_factory() -> ComPtr<Interface> where
Interface: RtInterface + ComIid,
[src]
Interface: RtInterface + ComIid,
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]
Interface: RtInterface + ComIid,
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.
fn deref(&self) -> &ILoggingChannel
[src]
impl DerefMut for LoggingChannel
[src]
fn deref_mut(&mut self) -> &mut ILoggingChannel
[src]
Auto Trait Implementations
impl !Send for LoggingChannel
impl !Sync for LoggingChannel
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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,