pub struct WebContentProcessTermination {
pub reason: WebContentProcessTerminationReason,
pub error_code: Option<i32>,
pub error_string: Option<String>,
}Expand description
Details provided by the runtime when a web content process terminates.
Error text is untrusted and may contain sensitive page data. Applications should sanitize it before logging or displaying it.
Fields§
§reason: WebContentProcessTerminationReasonThe runtime’s termination classification; unknown is never a normal exit.
error_code: Option<i32>Native runtime error code, when available.
error_string: Option<String>Native runtime error text, when available.
Trait Implementations§
Source§impl Clone for WebContentProcessTermination
impl Clone for WebContentProcessTermination
Source§fn clone(&self) -> WebContentProcessTermination
fn clone(&self) -> WebContentProcessTermination
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WebContentProcessTermination
impl Debug for WebContentProcessTermination
impl Eq for WebContentProcessTermination
impl StructuralPartialEq for WebContentProcessTermination
Auto Trait Implementations§
impl Freeze for WebContentProcessTermination
impl RefUnwindSafe for WebContentProcessTermination
impl Send for WebContentProcessTermination
impl Sync for WebContentProcessTermination
impl Unpin for WebContentProcessTermination
impl UnsafeUnpin for WebContentProcessTermination
impl UnwindSafe for WebContentProcessTermination
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.