Struct zircon_object::debuglog::DebugLog[][src]

pub struct DebugLog { /* fields omitted */ }

Debuglog - Kernel debuglog

SYNOPSIS

Debuglog objects allow userspace to read and write to kernel debug logs.

Implementations

impl DebugLog[src]

pub fn create(flags: u32) -> Arc<Self>[src]

Create a new DebugLog.

pub fn read(&self, buf: &mut [u8]) -> usize[src]

Read a log, return the actual read size.

pub fn write(
    &self,
    severity: Severity,
    flags: u32,
    tid: u64,
    pid: u64,
    data: &str
)
[src]

Write a log.

Trait Implementations

impl Debug for DebugLog[src]

impl KernelObject for DebugLog[src]

Auto Trait Implementations

impl !RefUnwindSafe for DebugLog

impl Send for DebugLog

impl Sync for DebugLog

impl Unpin for DebugLog

impl !UnwindSafe for DebugLog

Blanket Implementations

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

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

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

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

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

impl<T, U> Into<U> for T where
    U: From<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.