pub struct BuilderTransport { /* private fields */ }Expand description
Concrete TransportConfig produced by CustomTransportBuilder::build.
Stores the accumulated trust roots and optional client identity by
value. Cloneable so consumers that need multiple JmapClient instances
sharing the same transport configuration can do so without rebuilding.
Trait Implementations§
Source§impl Clone for BuilderTransport
impl Clone for BuilderTransport
Source§fn clone(&self) -> BuilderTransport
fn clone(&self) -> BuilderTransport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BuilderTransport
impl Debug for BuilderTransport
Source§impl TransportConfig for BuilderTransport
impl TransportConfig for BuilderTransport
Source§fn build_client(&self) -> Result<HttpClient, ClientError>
fn build_client(&self) -> Result<HttpClient, ClientError>
Build the
HttpClient for this transport configuration.Auto Trait Implementations§
impl Freeze for BuilderTransport
impl RefUnwindSafe for BuilderTransport
impl Send for BuilderTransport
impl Sync for BuilderTransport
impl Unpin for BuilderTransport
impl UnsafeUnpin for BuilderTransport
impl UnwindSafe for BuilderTransport
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