pub struct SetAsyncCallStackDepthBuilder { /* private fields */ }Expand description
Builder for SetAsyncCallStackDepth.
Implementations§
Source§impl SetAsyncCallStackDepthBuilder
impl SetAsyncCallStackDepthBuilder
Sourcepub fn max_depth<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
pub fn max_depth<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
Maximum depth of async call stacks. Setting to 0 will effectively disable collecting async
call stacks (default).
Sourcepub fn build(
&self,
) -> Result<SetAsyncCallStackDepth, SetAsyncCallStackDepthBuilderError>
pub fn build( &self, ) -> Result<SetAsyncCallStackDepth, SetAsyncCallStackDepthBuilderError>
Trait Implementations§
Source§impl Clone for SetAsyncCallStackDepthBuilder
impl Clone for SetAsyncCallStackDepthBuilder
Source§fn clone(&self) -> SetAsyncCallStackDepthBuilder
fn clone(&self) -> SetAsyncCallStackDepthBuilder
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 moreAuto Trait Implementations§
impl Freeze for SetAsyncCallStackDepthBuilder
impl RefUnwindSafe for SetAsyncCallStackDepthBuilder
impl Send for SetAsyncCallStackDepthBuilder
impl Sync for SetAsyncCallStackDepthBuilder
impl Unpin for SetAsyncCallStackDepthBuilder
impl UnsafeUnpin for SetAsyncCallStackDepthBuilder
impl UnwindSafe for SetAsyncCallStackDepthBuilder
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