[][src]Struct sunrise_libuser::types::Thread

#[repr(transparent)]pub struct Thread(pub Handle);

A Thread. Created with the create_thread syscall.

See the threads module.

Implementations

impl Thread[src]

fn current() -> Thread[src]

Gets the current process handle. Uses the 0xFFFF8000 meta-handle, which may not be valid in all contexts!

Trait Implementations

impl Debug for Thread[src]

Auto Trait Implementations

impl RefUnwindSafe for Thread

impl Send for Thread

impl Sync for Thread

impl Unpin for Thread

impl UnwindSafe for Thread

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> From<T> for T[src]

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

impl<T> SizedIPCBuffer 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.