OSLogEntryFromProcess

Trait OSLogEntryFromProcess 

Source
pub unsafe trait OSLogEntryFromProcess {
    // Provided methods
    unsafe fn activityIdentifier(&self) -> u64
       where Self: Sized + Message { ... }
    unsafe fn process(&self) -> Retained<NSString>
       where Self: Sized + Message { ... }
    unsafe fn processIdentifier(&self) -> pid_t
       where Self: Sized + Message { ... }
    unsafe fn sender(&self) -> Retained<NSString>
       where Self: Sized + Message { ... }
    unsafe fn threadIdentifier(&self) -> u64
       where Self: Sized + Message { ... }
}
Expand description

Entry subclasses conforming to this protocol represent data that are generated from a process; they have metadata about the originator.

See also Apple’s documentation

Provided Methods§

Source

unsafe fn activityIdentifier(&self) -> u64
where Self: Sized + Message,

The activity ID associated with the entry.

Source

unsafe fn process(&self) -> Retained<NSString>
where Self: Sized + Message,

The name of the process that made the entry.

Source

unsafe fn processIdentifier(&self) -> pid_t
where Self: Sized + Message,

Available on crate feature libc only.

The pid of the process that made the entry.

Source

unsafe fn sender(&self) -> Retained<NSString>
where Self: Sized + Message,

The name of the binary image that made the entry.

Source

unsafe fn threadIdentifier(&self) -> u64
where Self: Sized + Message,

The tid of the thread that made the entry.

Trait Implementations§

Source§

impl ProtocolType for dyn OSLogEntryFromProcess

Source§

const NAME: &'static str = "OSLogEntryFromProcess"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn OSLogEntryFromProcess

Implementations on Foreign Types§

Source§

impl<T> OSLogEntryFromProcess for ProtocolObject<T>

Implementors§