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

Do default loading if data not set.

Discard request completely (data will not be loaded at document).

Data will be delivered later by the host application.

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]

[src]

Formats the value using the given formatter.

impl PartialOrd for LOAD_RESULT
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialEq for LOAD_RESULT
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.