[][src]Enum sciter::host::LOAD_RESULT

#[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 a database or other resource).

Variants

LOAD_DEFAULT

Do the default loading if data is not set.

LOAD_DISCARD

Discard the request completely (data will not be loaded at the 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 PartialEq<LOAD_RESULT> for LOAD_RESULT[src]

impl PartialOrd<LOAD_RESULT> for LOAD_RESULT[src]

impl StructuralPartialEq for LOAD_RESULT[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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.