Struct chrome_remote_interface_model::network::LoadingFailedEventBuilder[][src]

pub struct LoadingFailedEventBuilder { /* fields omitted */ }
This is supported on crate features Network and Debugger and Runtime and Security only.

Implementations

impl LoadingFailedEventBuilder[src]

pub fn request_id(&mut self, v: RequestId) -> &mut Self[src]

Request identifier.

pub fn timestamp(&mut self, v: MonotonicTime) -> &mut Self[src]

Timestamp.

pub fn type(&mut self, v: ResourceType) -> &mut Self[src]

Resource type.

pub fn error_text(&mut self, v: String) -> &mut Self[src]

User friendly error message.

pub fn canceled(&mut self, v: bool) -> &mut Self[src]

True if loading was canceled.

pub fn blocked_reason(&mut self, v: BlockedReason) -> &mut Self[src]

The reason why loading was blocked, if any.

pub fn cors_error_status(&mut self, v: CorsErrorStatus) -> &mut Self[src]

The reason why loading was blocked by CORS, if any.

pub fn build(&mut self) -> Result<LoadingFailedEvent, &'static str>[src]

Trait Implementations

impl Clone for LoadingFailedEventBuilder[src]

impl Debug for LoadingFailedEventBuilder[src]

impl Default for LoadingFailedEventBuilder[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.