pub struct Builder { /* private fields */ }Expand description
The telemetry plugin builder.
Implementations§
Source§impl Builder
impl Builder
Sourcepub fn with_options(self, opts: InitOptions) -> Self
pub fn with_options(self, opts: InitOptions) -> Self
Sets custom options to use for the telemetry client.
Sourcepub fn with_panic_hook(self, hook: PanicHook) -> Self
pub fn with_panic_hook(self, hook: PanicHook) -> Self
Sets a custom panic hook.
Sourcepub fn build<R: Runtime>(self) -> TauriPlugin<R>
pub fn build<R: Runtime>(self) -> TauriPlugin<R>
Builds and initializes the plugin.
Auto Trait Implementations§
impl !RefUnwindSafe for Builder
impl !UnwindSafe for Builder
impl Freeze for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnsafeUnpin for Builder
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