Struct chrome_remote_interface_model::runtime::ExceptionDetailsBuilder [−][src]
Implementations
impl ExceptionDetailsBuilder
[src]
pub fn exception_id(&mut self, v: u32) -> &mut Self
[src]
Exception id.
pub fn text(&mut self, v: String) -> &mut Self
[src]
Exception text, which should be used together with exception object when available.
pub fn line_number(&mut self, v: u32) -> &mut Self
[src]
Line number of the exception location (0-based).
pub fn column_number(&mut self, v: u32) -> &mut Self
[src]
Column number of the exception location (0-based).
pub fn script_id(&mut self, v: ScriptId) -> &mut Self
[src]
Script ID of the exception location.
pub fn url(&mut self, v: String) -> &mut Self
[src]
URL of the exception location, to be used when the script was not reported.
pub fn stack_trace(&mut self, v: StackTrace) -> &mut Self
[src]
JavaScript stack trace if available.
pub fn exception(&mut self, v: RemoteObject) -> &mut Self
[src]
Exception object if available.
pub fn execution_context_id(&mut self, v: ExecutionContextId) -> &mut Self
[src]
Identifier of the context where exception happened.
pub fn build(&mut self) -> Result<ExceptionDetails, &'static str>
[src]
Trait Implementations
impl Clone for ExceptionDetailsBuilder
[src]
fn clone(&self) -> ExceptionDetailsBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ExceptionDetailsBuilder
[src]
impl Default for ExceptionDetailsBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExceptionDetailsBuilder
[src]
impl Send for ExceptionDetailsBuilder
[src]
impl Sync for ExceptionDetailsBuilder
[src]
impl Unpin for ExceptionDetailsBuilder
[src]
impl UnwindSafe for ExceptionDetailsBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,