Struct chromiumoxide::cdp::browser_protocol::network::EventLoadingFailed
source · [−]pub struct EventLoadingFailed {
pub request_id: RequestId,
pub timestamp: MonotonicTime,
pub type: ResourceType,
pub error_text: String,
pub canceled: Option<bool>,
pub blocked_reason: Option<BlockedReason>,
}
Expand description
Fired when HTTP request has failed to load. loadingFailed
Fields
request_id: RequestId
Request identifier.
timestamp: MonotonicTime
Timestamp.
type: ResourceType
Resource type.
error_text: String
User friendly error message.
canceled: Option<bool>
True if loading was canceled.
blocked_reason: Option<BlockedReason>
The reason why loading was blocked, if any.
Implementations
sourceimpl EventLoadingFailed
impl EventLoadingFailed
pub const IDENTIFIER: &'static str = "Network.loadingFailed"
Trait Implementations
sourceimpl Clone for EventLoadingFailed
impl Clone for EventLoadingFailed
sourcefn clone(&self) -> EventLoadingFailed
fn clone(&self) -> EventLoadingFailed
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for EventLoadingFailed
impl Debug for EventLoadingFailed
sourceimpl<'de> Deserialize<'de> for EventLoadingFailed
impl<'de> Deserialize<'de> for EventLoadingFailed
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<EventLoadingFailed, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<EventLoadingFailed, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<EventLoadingFailed> for CdpEvent
impl From<EventLoadingFailed> for CdpEvent
sourcefn from(el: EventLoadingFailed) -> CdpEvent
fn from(el: EventLoadingFailed) -> CdpEvent
Converts to this type from the input type.
sourceimpl IntoEventKind for EventLoadingFailed
impl IntoEventKind for EventLoadingFailed
sourcefn event_kind() -> EventKindwhere
EventLoadingFailed: 'static + Sized,
fn event_kind() -> EventKindwhere
EventLoadingFailed: 'static + Sized,
What kind of event this type is
sourceimpl Method for EventLoadingFailed
impl Method for EventLoadingFailed
sourcefn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
sourcefn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
sourcefn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
sourceimpl MethodType for EventLoadingFailed
impl MethodType for EventLoadingFailed
sourceimpl PartialEq<EventLoadingFailed> for EventLoadingFailed
impl PartialEq<EventLoadingFailed> for EventLoadingFailed
sourcefn eq(&self, other: &EventLoadingFailed) -> bool
fn eq(&self, other: &EventLoadingFailed) -> bool
sourceimpl Serialize for EventLoadingFailed
impl Serialize for EventLoadingFailed
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
sourceimpl TryFrom<CdpEvent> for EventLoadingFailed
impl TryFrom<CdpEvent> for EventLoadingFailed
impl StructuralPartialEq for EventLoadingFailed
Auto Trait Implementations
impl RefUnwindSafe for EventLoadingFailed
impl Send for EventLoadingFailed
impl Sync for EventLoadingFailed
impl Unpin for EventLoadingFailed
impl UnwindSafe for EventLoadingFailed
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more