Struct sentry::transports::DefaultTransportFactory
source · [−]pub struct DefaultTransportFactory;
Expand description
Creates the default HTTP transport.
This is the default value for transport
on the client options. It
creates a HttpTransport
. If no http transport was compiled into the
library it will panic on transport creation.
Trait Implementations
sourceimpl Clone for DefaultTransportFactory
impl Clone for DefaultTransportFactory
sourcefn clone(&self) -> DefaultTransportFactory
fn clone(&self) -> DefaultTransportFactory
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl TransportFactory for DefaultTransportFactory
impl TransportFactory for DefaultTransportFactory
sourcefn create_transport(&self, options: &ClientOptions) -> Arc<dyn Transport>
fn create_transport(&self, options: &ClientOptions) -> Arc<dyn Transport>
Given some options creates a transport.
Auto Trait Implementations
impl RefUnwindSafe for DefaultTransportFactory
impl Send for DefaultTransportFactory
impl Sync for DefaultTransportFactory
impl Unpin for DefaultTransportFactory
impl UnwindSafe for DefaultTransportFactory
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more