pub struct LoadingFailedEvent {
pub request_id: RequestId,
pub timestamp: MonotonicTime,
pub type: ResourceType,
pub error_text: String,
pub canceled: Option<bool>,
pub blocked_reason: Option<BlockedReason>,
pub cors_error_status: Option<CorsErrorStatus>,
}Expand description
Fired when HTTP request has failed to load.
Payload of the Network.loadingFailed event.
Fields§
§request_id: RequestIdRequest identifier.
timestamp: MonotonicTimeTimestamp.
type: ResourceTypeResource type.
error_text: StringError message. List of network errors: https://cs.chromium.org/chromium/src/net/base/net_error_list.h
canceled: Option<bool>True if loading was canceled.
blocked_reason: Option<BlockedReason>The reason why loading was blocked, if any.
cors_error_status: Option<CorsErrorStatus>The reason why loading was blocked by CORS, if any.
Trait Implementations§
Source§impl Clone for LoadingFailedEvent
impl Clone for LoadingFailedEvent
Source§impl Debug for LoadingFailedEvent
impl Debug for LoadingFailedEvent
Source§impl<'de> Deserialize<'de> for LoadingFailedEvent
impl<'de> Deserialize<'de> for LoadingFailedEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Event for LoadingFailedEvent
impl Event for LoadingFailedEvent
Source§impl PartialEq for LoadingFailedEvent
impl PartialEq for LoadingFailedEvent
Source§impl Serialize for LoadingFailedEvent
impl Serialize for LoadingFailedEvent
impl StructuralPartialEq for LoadingFailedEvent
Auto Trait Implementations§
impl Forget for LoadingFailedEvent
impl Freeze for LoadingFailedEvent
impl RefUnwindSafe for LoadingFailedEvent
impl Send for LoadingFailedEvent
impl Sync for LoadingFailedEvent
impl Unpin for LoadingFailedEvent
impl UnsafeUnpin for LoadingFailedEvent
impl UnwindSafe for LoadingFailedEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more