Struct azure_core::TransportOptions
source · [−]pub struct TransportOptions { /* private fields */ }
Expand description
Transport options.
Implementations
sourceimpl TransportOptions
impl TransportOptions
sourcepub fn new(http_client: Arc<dyn HttpClient>) -> Self
pub fn new(http_client: Arc<dyn HttpClient>) -> Self
Creates a new TransportOptions
using the given HttpClient
.
sourcepub fn new_custom_policy(policy: Arc<dyn Policy>) -> Self
pub fn new_custom_policy(policy: Arc<dyn Policy>) -> Self
Creates a new TransportOptions
using the custom policy.
This policy is expected to be the last policy in the pipeline.
Trait Implementations
sourceimpl Clone for TransportOptions
impl Clone for TransportOptions
sourcefn clone(&self) -> TransportOptions
fn clone(&self) -> TransportOptions
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 moresourceimpl Debug for TransportOptions
impl Debug for TransportOptions
sourceimpl Default for TransportOptions
impl Default for TransportOptions
Auto Trait Implementations
impl !RefUnwindSafe for TransportOptions
impl Send for TransportOptions
impl Sync for TransportOptions
impl Unpin for TransportOptions
impl !UnwindSafe for TransportOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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