Trait ppapi::ppb::MessageLoopIfExperimental [-]  [+] [src]

pub trait MessageLoopIf {
    fn create(&self, instance: &PP_Instance) -> PP_Resource;
    fn get_for_main_thread(&self) -> PP_Resource;
    fn get_current(&self) -> Option<PP_Resource>;
    fn attach_to_current_thread(&self, msg_loop: &PP_Resource) -> int32_t;
    fn run(&self, msg_loop: &PP_Resource) -> int32_t;
    fn post_work(&self, to_loop: &PP_Resource, callback: Struct_PP_CompletionCallback, delay_ms: int64_t) -> int32_t;
    fn post_quit(&self, msg_loop: &PP_Resource, full: bool) -> int32_t;
}

Required Methods

fn create(&self, instance: &PP_Instance) -> PP_Resource

fn get_for_main_thread(&self) -> PP_Resource

fn get_current(&self) -> Option<PP_Resource>

fn attach_to_current_thread(&self, msg_loop: &PP_Resource) -> int32_t

fn run(&self, msg_loop: &PP_Resource) -> int32_t

fn post_work(&self, to_loop: &PP_Resource, callback: Struct_PP_CompletionCallback, delay_ms: int64_t) -> int32_t

fn post_quit(&self, msg_loop: &PP_Resource, full: bool) -> int32_t

Implementors