Struct windows::Foundation::Diagnostics::LoggingFields
pub struct LoggingFields(/* private fields */);
Implementations§
§impl LoggingFields
impl LoggingFields
pub fn new() -> Result<Self>
pub fn Clear(&self) -> Result<()>
pub fn BeginStruct(&self, name: &HSTRING) -> Result<()>
pub fn BeginStructWithTags(&self, name: &HSTRING, tags: i32) -> Result<()>
pub fn EndStruct(&self) -> Result<()>
pub fn AddEmpty(&self, name: &HSTRING) -> Result<()>
pub fn AddEmptyWithFormat( &self, name: &HSTRING, format: LoggingFieldFormat, ) -> Result<()>
pub fn AddEmptyWithFormatAndTags( &self, name: &HSTRING, format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddUInt8(&self, name: &HSTRING, value: u8) -> Result<()>
pub fn AddUInt8WithFormat( &self, name: &HSTRING, value: u8, format: LoggingFieldFormat, ) -> Result<()>
pub fn AddUInt8WithFormatAndTags( &self, name: &HSTRING, value: u8, format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddUInt8Array(&self, name: &HSTRING, value: &[u8]) -> Result<()>
pub fn AddUInt8ArrayWithFormat( &self, name: &HSTRING, value: &[u8], format: LoggingFieldFormat, ) -> Result<()>
pub fn AddUInt8ArrayWithFormatAndTags( &self, name: &HSTRING, value: &[u8], format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddInt16(&self, name: &HSTRING, value: i16) -> Result<()>
pub fn AddInt16WithFormat( &self, name: &HSTRING, value: i16, format: LoggingFieldFormat, ) -> Result<()>
pub fn AddInt16WithFormatAndTags( &self, name: &HSTRING, value: i16, format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddInt16Array(&self, name: &HSTRING, value: &[i16]) -> Result<()>
pub fn AddInt16ArrayWithFormat( &self, name: &HSTRING, value: &[i16], format: LoggingFieldFormat, ) -> Result<()>
pub fn AddInt16ArrayWithFormatAndTags( &self, name: &HSTRING, value: &[i16], format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddUInt16(&self, name: &HSTRING, value: u16) -> Result<()>
pub fn AddUInt16WithFormat( &self, name: &HSTRING, value: u16, format: LoggingFieldFormat, ) -> Result<()>
pub fn AddUInt16WithFormatAndTags( &self, name: &HSTRING, value: u16, format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddUInt16Array(&self, name: &HSTRING, value: &[u16]) -> Result<()>
pub fn AddUInt16ArrayWithFormat( &self, name: &HSTRING, value: &[u16], format: LoggingFieldFormat, ) -> Result<()>
pub fn AddUInt16ArrayWithFormatAndTags( &self, name: &HSTRING, value: &[u16], format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddInt32(&self, name: &HSTRING, value: i32) -> Result<()>
pub fn AddInt32WithFormat( &self, name: &HSTRING, value: i32, format: LoggingFieldFormat, ) -> Result<()>
pub fn AddInt32WithFormatAndTags( &self, name: &HSTRING, value: i32, format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddInt32Array(&self, name: &HSTRING, value: &[i32]) -> Result<()>
pub fn AddInt32ArrayWithFormat( &self, name: &HSTRING, value: &[i32], format: LoggingFieldFormat, ) -> Result<()>
pub fn AddInt32ArrayWithFormatAndTags( &self, name: &HSTRING, value: &[i32], format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddUInt32(&self, name: &HSTRING, value: u32) -> Result<()>
pub fn AddUInt32WithFormat( &self, name: &HSTRING, value: u32, format: LoggingFieldFormat, ) -> Result<()>
pub fn AddUInt32WithFormatAndTags( &self, name: &HSTRING, value: u32, format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddUInt32Array(&self, name: &HSTRING, value: &[u32]) -> Result<()>
pub fn AddUInt32ArrayWithFormat( &self, name: &HSTRING, value: &[u32], format: LoggingFieldFormat, ) -> Result<()>
pub fn AddUInt32ArrayWithFormatAndTags( &self, name: &HSTRING, value: &[u32], format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddInt64(&self, name: &HSTRING, value: i64) -> Result<()>
pub fn AddInt64WithFormat( &self, name: &HSTRING, value: i64, format: LoggingFieldFormat, ) -> Result<()>
pub fn AddInt64WithFormatAndTags( &self, name: &HSTRING, value: i64, format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddInt64Array(&self, name: &HSTRING, value: &[i64]) -> Result<()>
pub fn AddInt64ArrayWithFormat( &self, name: &HSTRING, value: &[i64], format: LoggingFieldFormat, ) -> Result<()>
pub fn AddInt64ArrayWithFormatAndTags( &self, name: &HSTRING, value: &[i64], format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddUInt64(&self, name: &HSTRING, value: u64) -> Result<()>
pub fn AddUInt64WithFormat( &self, name: &HSTRING, value: u64, format: LoggingFieldFormat, ) -> Result<()>
pub fn AddUInt64WithFormatAndTags( &self, name: &HSTRING, value: u64, format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddUInt64Array(&self, name: &HSTRING, value: &[u64]) -> Result<()>
pub fn AddUInt64ArrayWithFormat( &self, name: &HSTRING, value: &[u64], format: LoggingFieldFormat, ) -> Result<()>
pub fn AddUInt64ArrayWithFormatAndTags( &self, name: &HSTRING, value: &[u64], format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddSingle(&self, name: &HSTRING, value: f32) -> Result<()>
pub fn AddSingleWithFormat( &self, name: &HSTRING, value: f32, format: LoggingFieldFormat, ) -> Result<()>
pub fn AddSingleWithFormatAndTags( &self, name: &HSTRING, value: f32, format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddSingleArray(&self, name: &HSTRING, value: &[f32]) -> Result<()>
pub fn AddSingleArrayWithFormat( &self, name: &HSTRING, value: &[f32], format: LoggingFieldFormat, ) -> Result<()>
pub fn AddSingleArrayWithFormatAndTags( &self, name: &HSTRING, value: &[f32], format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddDouble(&self, name: &HSTRING, value: f64) -> Result<()>
pub fn AddDoubleWithFormat( &self, name: &HSTRING, value: f64, format: LoggingFieldFormat, ) -> Result<()>
pub fn AddDoubleWithFormatAndTags( &self, name: &HSTRING, value: f64, format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddDoubleArray(&self, name: &HSTRING, value: &[f64]) -> Result<()>
pub fn AddDoubleArrayWithFormat( &self, name: &HSTRING, value: &[f64], format: LoggingFieldFormat, ) -> Result<()>
pub fn AddDoubleArrayWithFormatAndTags( &self, name: &HSTRING, value: &[f64], format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddChar16(&self, name: &HSTRING, value: u16) -> Result<()>
pub fn AddChar16WithFormat( &self, name: &HSTRING, value: u16, format: LoggingFieldFormat, ) -> Result<()>
pub fn AddChar16WithFormatAndTags( &self, name: &HSTRING, value: u16, format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddChar16Array(&self, name: &HSTRING, value: &[u16]) -> Result<()>
pub fn AddChar16ArrayWithFormat( &self, name: &HSTRING, value: &[u16], format: LoggingFieldFormat, ) -> Result<()>
pub fn AddChar16ArrayWithFormatAndTags( &self, name: &HSTRING, value: &[u16], format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddBoolean(&self, name: &HSTRING, value: bool) -> Result<()>
pub fn AddBooleanWithFormat( &self, name: &HSTRING, value: bool, format: LoggingFieldFormat, ) -> Result<()>
pub fn AddBooleanWithFormatAndTags( &self, name: &HSTRING, value: bool, format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddBooleanArray(&self, name: &HSTRING, value: &[bool]) -> Result<()>
pub fn AddBooleanArrayWithFormat( &self, name: &HSTRING, value: &[bool], format: LoggingFieldFormat, ) -> Result<()>
pub fn AddBooleanArrayWithFormatAndTags( &self, name: &HSTRING, value: &[bool], format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddString(&self, name: &HSTRING, value: &HSTRING) -> Result<()>
pub fn AddStringWithFormat( &self, name: &HSTRING, value: &HSTRING, format: LoggingFieldFormat, ) -> Result<()>
pub fn AddStringWithFormatAndTags( &self, name: &HSTRING, value: &HSTRING, format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddStringArray(&self, name: &HSTRING, value: &[HSTRING]) -> Result<()>
pub fn AddStringArrayWithFormat( &self, name: &HSTRING, value: &[HSTRING], format: LoggingFieldFormat, ) -> Result<()>
pub fn AddStringArrayWithFormatAndTags( &self, name: &HSTRING, value: &[HSTRING], format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddGuid(&self, name: &HSTRING, value: GUID) -> Result<()>
pub fn AddGuidWithFormat( &self, name: &HSTRING, value: GUID, format: LoggingFieldFormat, ) -> Result<()>
pub fn AddGuidWithFormatAndTags( &self, name: &HSTRING, value: GUID, format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddGuidArray(&self, name: &HSTRING, value: &[GUID]) -> Result<()>
pub fn AddGuidArrayWithFormat( &self, name: &HSTRING, value: &[GUID], format: LoggingFieldFormat, ) -> Result<()>
pub fn AddGuidArrayWithFormatAndTags( &self, name: &HSTRING, value: &[GUID], format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddDateTime(&self, name: &HSTRING, value: DateTime) -> Result<()>
pub fn AddDateTimeWithFormat( &self, name: &HSTRING, value: DateTime, format: LoggingFieldFormat, ) -> Result<()>
pub fn AddDateTimeWithFormatAndTags( &self, name: &HSTRING, value: DateTime, format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddDateTimeArray(&self, name: &HSTRING, value: &[DateTime]) -> Result<()>
pub fn AddDateTimeArrayWithFormat( &self, name: &HSTRING, value: &[DateTime], format: LoggingFieldFormat, ) -> Result<()>
pub fn AddDateTimeArrayWithFormatAndTags( &self, name: &HSTRING, value: &[DateTime], format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddTimeSpan(&self, name: &HSTRING, value: TimeSpan) -> Result<()>
pub fn AddTimeSpanWithFormat( &self, name: &HSTRING, value: TimeSpan, format: LoggingFieldFormat, ) -> Result<()>
pub fn AddTimeSpanWithFormatAndTags( &self, name: &HSTRING, value: TimeSpan, format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddTimeSpanArray(&self, name: &HSTRING, value: &[TimeSpan]) -> Result<()>
pub fn AddTimeSpanArrayWithFormat( &self, name: &HSTRING, value: &[TimeSpan], format: LoggingFieldFormat, ) -> Result<()>
pub fn AddTimeSpanArrayWithFormatAndTags( &self, name: &HSTRING, value: &[TimeSpan], format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddPoint(&self, name: &HSTRING, value: Point) -> Result<()>
pub fn AddPointWithFormat( &self, name: &HSTRING, value: Point, format: LoggingFieldFormat, ) -> Result<()>
pub fn AddPointWithFormatAndTags( &self, name: &HSTRING, value: Point, format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddPointArray(&self, name: &HSTRING, value: &[Point]) -> Result<()>
pub fn AddPointArrayWithFormat( &self, name: &HSTRING, value: &[Point], format: LoggingFieldFormat, ) -> Result<()>
pub fn AddPointArrayWithFormatAndTags( &self, name: &HSTRING, value: &[Point], format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddSize(&self, name: &HSTRING, value: Size) -> Result<()>
pub fn AddSizeWithFormat( &self, name: &HSTRING, value: Size, format: LoggingFieldFormat, ) -> Result<()>
pub fn AddSizeWithFormatAndTags( &self, name: &HSTRING, value: Size, format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddSizeArray(&self, name: &HSTRING, value: &[Size]) -> Result<()>
pub fn AddSizeArrayWithFormat( &self, name: &HSTRING, value: &[Size], format: LoggingFieldFormat, ) -> Result<()>
pub fn AddSizeArrayWithFormatAndTags( &self, name: &HSTRING, value: &[Size], format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddRect(&self, name: &HSTRING, value: Rect) -> Result<()>
pub fn AddRectWithFormat( &self, name: &HSTRING, value: Rect, format: LoggingFieldFormat, ) -> Result<()>
pub fn AddRectWithFormatAndTags( &self, name: &HSTRING, value: Rect, format: LoggingFieldFormat, tags: i32, ) -> Result<()>
pub fn AddRectArray(&self, name: &HSTRING, value: &[Rect]) -> Result<()>
pub fn AddRectArrayWithFormat( &self, name: &HSTRING, value: &[Rect], format: LoggingFieldFormat, ) -> Result<()>
pub fn AddRectArrayWithFormatAndTags( &self, name: &HSTRING, value: &[Rect], format: LoggingFieldFormat, tags: i32, ) -> Result<()>
Trait Implementations§
§impl CanInto<IInspectable> for LoggingFields
impl CanInto<IInspectable> for LoggingFields
§impl CanInto<IUnknown> for LoggingFields
impl CanInto<IUnknown> for LoggingFields
§impl Clone for LoggingFields
impl Clone for LoggingFields
§fn clone(&self) -> LoggingFields
fn clone(&self) -> LoggingFields
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for LoggingFields
impl Debug for LoggingFields
§impl From<&LoggingFields> for &IInspectable
impl From<&LoggingFields> for &IInspectable
§fn from(value: &LoggingFields) -> Self
fn from(value: &LoggingFields) -> Self
Converts to this type from the input type.
§impl From<&LoggingFields> for &IUnknown
impl From<&LoggingFields> for &IUnknown
§fn from(value: &LoggingFields) -> Self
fn from(value: &LoggingFields) -> Self
Converts to this type from the input type.
§impl From<LoggingFields> for IInspectable
impl From<LoggingFields> for IInspectable
§fn from(value: LoggingFields) -> Self
fn from(value: LoggingFields) -> Self
Converts to this type from the input type.
§impl From<LoggingFields> for IUnknown
impl From<LoggingFields> for IUnknown
§fn from(value: LoggingFields) -> Self
fn from(value: LoggingFields) -> Self
Converts to this type from the input type.
§impl Interface for LoggingFields
impl Interface for LoggingFields
§const IID: GUID = <ILoggingFields as windows_core::Interface>::IID
const IID: GUID = <ILoggingFields as windows_core::Interface>::IID
The
GUID
associated with the interface.§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for LoggingFields
impl PartialEq for LoggingFields
§fn eq(&self, other: &LoggingFields) -> bool
fn eq(&self, other: &LoggingFields) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LoggingFields
impl Send for LoggingFields
impl StructuralPartialEq for LoggingFields
impl Sync for LoggingFields
Auto Trait Implementations§
impl Freeze for LoggingFields
impl RefUnwindSafe for LoggingFields
impl Unpin for LoggingFields
impl UnwindSafe for LoggingFields
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)