[][src]Struct lib_composite::sl::Sl

pub struct Sl;

Methods

impl Sl[src]

pub fn start_scheduler_loop<F: FnOnce(Sl)>(
    d: DefKernelAPI,
    root_thread_priority: u32,
    entrypoint: F
)
[src]

pub fn start_scheduler_loop_without_initializing<F: FnOnce(Sl)>(
    _: DefKernelAPI,
    root_thread_priority: u32,
    entrypoint: F
)
[src]

pub fn assert_scheduler_already_started() -> Sl[src]

pub fn block(&self)[src]

pub fn block_for(&self, duration: Duration)[src]

pub fn current_thread(&self) -> Thread[src]

pub fn spawn<F: FnOnce(Sl)>(&self, entrypoint: F) -> Thread[src]

Trait Implementations

impl !Sync for Sl[src]

impl Clone for Sl[src]

impl Copy for Sl[src]

impl !Send for Sl[src]

impl Debug for Sl[src]

Auto Trait Implementations

impl Unpin for Sl

impl UnwindSafe for Sl

impl RefUnwindSafe for Sl

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

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

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

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

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