pub struct LoadingFailedParams {
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. loadingFailed
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 LoadingFailedParams
impl Clone for LoadingFailedParams
Source§fn clone(&self) -> LoadingFailedParams
fn clone(&self) -> LoadingFailedParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LoadingFailedParams
impl Debug for LoadingFailedParams
Source§impl<'de> Deserialize<'de> for LoadingFailedParams
impl<'de> Deserialize<'de> for LoadingFailedParams
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 PartialEq for LoadingFailedParams
impl PartialEq for LoadingFailedParams
Source§impl Serialize for LoadingFailedParams
impl Serialize for LoadingFailedParams
impl StructuralPartialEq for LoadingFailedParams
Auto Trait Implementations§
impl Freeze for LoadingFailedParams
impl RefUnwindSafe for LoadingFailedParams
impl Send for LoadingFailedParams
impl Sync for LoadingFailedParams
impl Unpin for LoadingFailedParams
impl UnsafeUnpin for LoadingFailedParams
impl UnwindSafe for LoadingFailedParams
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