pub struct Sentry { /* private fields */ }
Implementations§
Source§impl Sentry
impl Sentry
pub fn new(url: &str) -> Result<Self, ParseDsnError>
pub fn with_environment(self, environment: Option<String>) -> Self
pub fn install(self) -> ClientInitGuard
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Sentry
impl RefUnwindSafe for Sentry
impl Send for Sentry
impl Sync for Sentry
impl Unpin for Sentry
impl UnwindSafe for Sentry
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