Trait actix_tools::sentry::sentry_client::internals::IntoClient[][src]

pub trait IntoClient {
    fn into_client_config(self) -> (Option<Dsn>, Option<ClientOptions>);

    fn into_client(self) -> Option<Client> { ... }
}

Helper trait to convert an object into a client config and/or client for init.

Required Methods

Converts the object into a client config tuple of DSN and options.

This can panic in cases where the conversion cannot be performed due to an error.

Provided Methods

Converts the object into a client right away.

Implementations on Foreign Types

impl IntoClient for ()
[src]

impl IntoClient for String
[src]

impl<C> IntoClient for Option<C> where
    C: IntoClient
[src]

impl<C> IntoClient for (C, ClientOptions) where
    C: IntoClient
[src]

impl IntoClient for OsString
[src]

impl<'a> IntoClient for &'a OsStr
[src]

impl<'a> IntoClient for &'a str
[src]

Implementors