pub struct TraceConfig { /* private fields */ }
Implementations§
Source§impl TraceConfig
impl TraceConfig
pub fn new( enable_argument_filter: Option<bool>, excluded_categories: Option<Array>, histogram_names: Option<Array>, included_categories: Option<Array>, included_process_ids: Option<Array>, memory_dump_config: Option<Object>, recording_mode: Option<JsString>, trace_buffer_size_in_events: Option<u32>, trace_buffer_size_in_kb: Option<u32>, ) -> TraceConfig
pub fn enable_argument_filter(&self) -> Option<bool>
pub fn set_enable_argument_filter(&mut self, value: Option<bool>)
pub fn excluded_categories(&self) -> Option<Array>
pub fn set_excluded_categories(&mut self, value: Option<Array>)
pub fn histogram_names(&self) -> Option<Array>
pub fn set_histogram_names(&mut self, value: Option<Array>)
pub fn included_categories(&self) -> Option<Array>
pub fn set_included_categories(&mut self, value: Option<Array>)
pub fn included_process_ids(&self) -> Option<Array>
pub fn set_included_process_ids(&mut self, value: Option<Array>)
pub fn memory_dump_config(&self) -> Option<Object>
pub fn set_memory_dump_config(&mut self, value: Option<Object>)
pub fn recording_mode(&self) -> Option<JsString>
pub fn set_recording_mode(&mut self, value: Option<JsString>)
pub fn trace_buffer_size_in_events(&self) -> Option<u32>
pub fn set_trace_buffer_size_in_events(&mut self, value: Option<u32>)
pub fn trace_buffer_size_in_kb(&self) -> Option<u32>
pub fn set_trace_buffer_size_in_kb(&mut self, value: Option<u32>)
Trait Implementations§
Source§impl Clone for TraceConfig
impl Clone for TraceConfig
Source§fn clone(&self) -> TraceConfig
fn clone(&self) -> TraceConfig
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 TraceConfig
impl Debug for TraceConfig
Source§impl From<TraceConfig> for JsValue
impl From<TraceConfig> for JsValue
Source§fn from(value: TraceConfig) -> Self
fn from(value: TraceConfig) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for TraceConfig
impl FromWasmAbi for TraceConfig
Source§impl IntoWasmAbi for TraceConfig
impl IntoWasmAbi for TraceConfig
Source§impl LongRefFromWasmAbi for TraceConfig
impl LongRefFromWasmAbi for TraceConfig
Source§impl OptionFromWasmAbi for TraceConfig
impl OptionFromWasmAbi for TraceConfig
Source§impl OptionIntoWasmAbi for TraceConfig
impl OptionIntoWasmAbi for TraceConfig
Source§impl PartialEq for TraceConfig
impl PartialEq for TraceConfig
Source§impl RefFromWasmAbi for TraceConfig
impl RefFromWasmAbi for TraceConfig
Source§type Anchor = RcRef<TraceConfig>
type Anchor = RcRef<TraceConfig>
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 RefMutFromWasmAbi for TraceConfig
impl RefMutFromWasmAbi for TraceConfig
Source§impl TryFromJsValue for TraceConfig
impl TryFromJsValue for TraceConfig
Source§impl VectorFromWasmAbi for TraceConfig
impl VectorFromWasmAbi for TraceConfig
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[TraceConfig]>
Source§impl VectorIntoJsValue for TraceConfig
impl VectorIntoJsValue for TraceConfig
fn vector_into_jsvalue(vector: Box<[TraceConfig]>) -> JsValue
Source§impl VectorIntoWasmAbi for TraceConfig
impl VectorIntoWasmAbi for TraceConfig
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[TraceConfig]>) -> Self::Abi
Source§impl WasmDescribeVector for TraceConfig
impl WasmDescribeVector for TraceConfig
impl StructuralPartialEq for TraceConfig
impl SupportsConstructor for TraceConfig
impl SupportsInstanceProperty for TraceConfig
impl SupportsStaticProperty for TraceConfig
Auto Trait Implementations§
impl Freeze for TraceConfig
impl RefUnwindSafe for TraceConfig
impl !Send for TraceConfig
impl !Sync for TraceConfig
impl Unpin for TraceConfig
impl UnwindSafe for TraceConfig
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
.