pub struct StartLoggingOptions { /* private fields */ }
Implementations§
Source§impl StartLoggingOptions
impl StartLoggingOptions
pub fn new( capture_mode: Option<JsString>, max_file_size: Option<usize>, ) -> StartLoggingOptions
pub fn capture_mode(&self) -> Option<JsString>
pub fn set_capture_mode(&mut self, value: Option<JsString>)
pub fn max_file_size(&self) -> Option<usize>
pub fn set_max_file_size(&mut self, value: Option<usize>)
Trait Implementations§
Source§impl Clone for StartLoggingOptions
impl Clone for StartLoggingOptions
Source§fn clone(&self) -> StartLoggingOptions
fn clone(&self) -> StartLoggingOptions
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 StartLoggingOptions
impl Debug for StartLoggingOptions
Source§impl From<StartLoggingOptions> for JsValue
impl From<StartLoggingOptions> for JsValue
Source§fn from(value: StartLoggingOptions) -> Self
fn from(value: StartLoggingOptions) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for StartLoggingOptions
impl FromWasmAbi for StartLoggingOptions
Source§impl IntoWasmAbi for StartLoggingOptions
impl IntoWasmAbi for StartLoggingOptions
Source§impl PartialEq for StartLoggingOptions
impl PartialEq for StartLoggingOptions
Source§impl RefFromWasmAbi for StartLoggingOptions
impl RefFromWasmAbi for StartLoggingOptions
Source§type Anchor = RcRef<StartLoggingOptions>
type Anchor = RcRef<StartLoggingOptions>
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 TryFromJsValue for StartLoggingOptions
impl TryFromJsValue for StartLoggingOptions
Source§impl VectorFromWasmAbi for StartLoggingOptions
impl VectorFromWasmAbi for StartLoggingOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[StartLoggingOptions]>
Source§impl VectorIntoJsValue for StartLoggingOptions
impl VectorIntoJsValue for StartLoggingOptions
fn vector_into_jsvalue(vector: Box<[StartLoggingOptions]>) -> JsValue
Source§impl VectorIntoWasmAbi for StartLoggingOptions
impl VectorIntoWasmAbi for StartLoggingOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[StartLoggingOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for StartLoggingOptions
impl WasmDescribeVector for StartLoggingOptions
impl StructuralPartialEq for StartLoggingOptions
impl SupportsConstructor for StartLoggingOptions
impl SupportsInstanceProperty for StartLoggingOptions
impl SupportsStaticProperty for StartLoggingOptions
Auto Trait Implementations§
impl Freeze for StartLoggingOptions
impl RefUnwindSafe for StartLoggingOptions
impl !Send for StartLoggingOptions
impl !Sync for StartLoggingOptions
impl Unpin for StartLoggingOptions
impl UnwindSafe for StartLoggingOptions
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<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
.