Enum sciter::types::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_DEFAULT
Do default loading if data not set.
LOAD_DISCARD
Discard request completely (data will not be loaded at document).
LOAD_DELAYED
Data will be delivered later by the host application.
LOAD_MYSELF
You 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]
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) -> bool
1.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) -> bool
1.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) -> bool
1.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) -> bool
1.0.0[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more