pub struct DefaultTransportTypeDetector;Expand description
Default transport detector using environment detection.
Implementations§
Source§impl DefaultTransportTypeDetector
impl DefaultTransportTypeDetector
Sourcepub fn list_available_transports() -> Vec<TransportType>
pub fn list_available_transports() -> Vec<TransportType>
Lists all available transports (static convenience method).
Trait Implementations§
Source§impl TransportTypeDetector for DefaultTransportTypeDetector
impl TransportTypeDetector for DefaultTransportTypeDetector
Source§fn DetectBestTransport(&self) -> TransportType
fn DetectBestTransport(&self) -> TransportType
Detects the best available transport for the current environment.
Source§fn IsTransportAvailable(&self, TransportKind: TransportType) -> bool
fn IsTransportAvailable(&self, TransportKind: TransportType) -> bool
Checks if a specific transport is available in the current environment.
Source§fn ListAvailableTransports(&self) -> Vec<TransportType>
fn ListAvailableTransports(&self) -> Vec<TransportType>
Lists all available transports in the current environment.
Auto Trait Implementations§
impl Freeze for DefaultTransportTypeDetector
impl RefUnwindSafe for DefaultTransportTypeDetector
impl Send for DefaultTransportTypeDetector
impl Sync for DefaultTransportTypeDetector
impl Unpin for DefaultTransportTypeDetector
impl UnsafeUnpin for DefaultTransportTypeDetector
impl UnwindSafe for DefaultTransportTypeDetector
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more