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§
source§impl Clone for DefaultTransportFactory
impl Clone for DefaultTransportFactory
source§fn clone(&self) -> DefaultTransportFactory
fn clone(&self) -> DefaultTransportFactory
Returns a copy 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 moresource§impl TransportFactory for DefaultTransportFactory
impl TransportFactory for DefaultTransportFactory
source§fn 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 Freeze for DefaultTransportFactory
impl RefUnwindSafe for DefaultTransportFactory
impl Send for DefaultTransportFactory
impl Sync for DefaultTransportFactory
impl Unpin for DefaultTransportFactory
impl UnwindSafe for DefaultTransportFactory
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)