pub struct LoadingFailedEvent { /* private fields */ }Available on crate features
Network and Debugger and Runtime and Security only.Expand description
Fired when HTTP request has failed to load.
Implementations§
Source§impl LoadingFailedEvent
impl LoadingFailedEvent
pub fn builder() -> LoadingFailedEventBuilder
Sourcepub fn request_id(&self) -> &RequestId
pub fn request_id(&self) -> &RequestId
Request identifier.
Sourcepub fn timestamp(&self) -> &MonotonicTime
pub fn timestamp(&self) -> &MonotonicTime
Timestamp.
Sourcepub fn type(&self) -> &ResourceType
pub fn type(&self) -> &ResourceType
Resource type.
Sourcepub fn error_text(&self) -> &str
pub fn error_text(&self) -> &str
User friendly error message.
Sourcepub fn blocked_reason(&self) -> Option<&BlockedReason>
pub fn blocked_reason(&self) -> Option<&BlockedReason>
The reason why loading was blocked, if any.
Sourcepub fn cors_error_status(&self) -> Option<&CorsErrorStatus>
pub fn cors_error_status(&self) -> Option<&CorsErrorStatus>
The reason why loading was blocked by CORS, if any.
Trait Implementations§
Source§impl Clone for LoadingFailedEvent
impl Clone for LoadingFailedEvent
Source§fn clone(&self) -> LoadingFailedEvent
fn clone(&self) -> LoadingFailedEvent
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 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
Auto Trait Implementations§
impl Freeze for LoadingFailedEvent
impl RefUnwindSafe for LoadingFailedEvent
impl Send for LoadingFailedEvent
impl Sync for LoadingFailedEvent
impl Unpin 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