Enum stdweb::web::XhrReadyState [] [src]

pub enum XhrReadyState {
    Unsent,
    Opened,
    HeadersReceived,
    Loading,
    Done,
}

An enum indicating the state of the XmlHttpRequest.

(JavaScript docs)

Variants

Client has been created. open() not called yet.

open() has been called.

send() has been called, and headers and status() are available.

Downloading; reponse_text() holds partial data.

The operation is complete.

Trait Implementations

impl Copy for XhrReadyState
[src]

impl Clone for XhrReadyState
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for XhrReadyState
[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 !=.

impl Eq for XhrReadyState
[src]

impl Debug for XhrReadyState
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for XhrReadyState

impl Sync for XhrReadyState