Enum sciter::host::LOAD_RESULT
[−]
[src]
#[repr(C)]pub enum LOAD_RESULT { LOAD_DEFAULT, LOAD_DISCARD, LOAD_DELAYED, LOAD_MYSELF, }
HostHandler::on_data_load() result code.
This notification gives application a chance to override built-in loader and implement loading of resources in its own way (for example images can be loaded from database or other resource).
Variants
LOAD_DEFAULTDo default loading if data not set.
LOAD_DISCARDDiscard request completely (data will not be loaded at document).
LOAD_DELAYEDData will be delivered later by the host application.
LOAD_MYSELFYou return this result to indicate that your (the host) application took or
will take care about HREQUEST in your code completely.
Trait Implementations
impl Debug for LOAD_RESULT[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialOrd for LOAD_RESULT[src]
fn partial_cmp(&self, __arg_0: &LOAD_RESULT) -> Option<Ordering>[src]
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Rhs) -> bool1.0.0[src]
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more