pub struct CrashReporterStartOptions { /* private fields */ }
Implementations§
Source§impl CrashReporterStartOptions
impl CrashReporterStartOptions
pub fn new( company_name: JsString, crashes_directory: Option<JsString>, extra: Option<Object>, ignore_system_crash_handler: Option<bool>, product_name: Option<JsString>, submit_url: JsString, upload_to_server: Option<bool>, ) -> CrashReporterStartOptions
pub fn company_name(&self) -> JsString
pub fn set_company_name(&mut self, value: JsString)
pub fn crashes_directory(&self) -> Option<JsString>
pub fn set_crashes_directory(&mut self, value: Option<JsString>)
pub fn extra(&self) -> Option<Object>
pub fn set_extra(&mut self, value: Option<Object>)
pub fn ignore_system_crash_handler(&self) -> Option<bool>
pub fn set_ignore_system_crash_handler(&mut self, value: Option<bool>)
pub fn product_name(&self) -> Option<JsString>
pub fn set_product_name(&mut self, value: Option<JsString>)
pub fn submit_url(&self) -> JsString
pub fn set_submit_url(&mut self, value: JsString)
pub fn upload_to_server(&self) -> Option<bool>
pub fn set_upload_to_server(&mut self, value: Option<bool>)
Trait Implementations§
Source§impl From<CrashReporterStartOptions> for JsValue
impl From<CrashReporterStartOptions> for JsValue
Source§fn from(value: CrashReporterStartOptions) -> Self
fn from(value: CrashReporterStartOptions) -> Self
Converts to this type from the input type.
Source§impl RefFromWasmAbi for CrashReporterStartOptions
impl RefFromWasmAbi for CrashReporterStartOptions
Source§type Anchor = RcRef<CrashReporterStartOptions>
type Anchor = RcRef<CrashReporterStartOptions>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl VectorFromWasmAbi for CrashReporterStartOptions
impl VectorFromWasmAbi for CrashReporterStartOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[CrashReporterStartOptions]>
Source§impl VectorIntoJsValue for CrashReporterStartOptions
impl VectorIntoJsValue for CrashReporterStartOptions
fn vector_into_jsvalue(vector: Box<[CrashReporterStartOptions]>) -> JsValue
Source§impl VectorIntoWasmAbi for CrashReporterStartOptions
impl VectorIntoWasmAbi for CrashReporterStartOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[CrashReporterStartOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for CrashReporterStartOptions
impl WasmDescribeVector for CrashReporterStartOptions
impl SupportsConstructor for CrashReporterStartOptions
impl SupportsInstanceProperty for CrashReporterStartOptions
impl SupportsStaticProperty for CrashReporterStartOptions
Auto Trait Implementations§
impl Freeze for CrashReporterStartOptions
impl RefUnwindSafe for CrashReporterStartOptions
impl !Send for CrashReporterStartOptions
impl !Sync for CrashReporterStartOptions
impl Unpin for CrashReporterStartOptions
impl UnwindSafe for CrashReporterStartOptions
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> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.