pub struct HttpsTransport { /* private fields */ }Expand description
TrqlTransport over the trust-tasks-https binding.
The inner reqwest::Client is built once with finite timeouts and reused
for every exchange.
Implementations§
Source§impl HttpsTransport
impl HttpsTransport
Sourcepub fn new(config: HttpsTransportConfig) -> Result<Self, TrqlError>
pub fn new(config: HttpsTransportConfig) -> Result<Self, TrqlError>
Build the transport, validating the URL and constructing the shared HTTP client.
Trait Implementations§
Source§impl TrqlTransport for HttpsTransport
impl TrqlTransport for HttpsTransport
Source§fn kind(&self) -> TransportKind
fn kind(&self) -> TransportKind
The protocol this transport speaks.
Auto Trait Implementations§
impl !RefUnwindSafe for HttpsTransport
impl !UnwindSafe for HttpsTransport
impl Freeze for HttpsTransport
impl Send for HttpsTransport
impl Sync for HttpsTransport
impl Unpin for HttpsTransport
impl UnsafeUnpin for HttpsTransport
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