pub struct HttpTransport<'a> {
pub address: SocketAddrV4,
pub repository_path: &'a str,
pub wire_storage: &'a mut [u8],
}Expand description
Numeric IPv4 addresses only. TLS, redirects, and chunked transfer decoding belong in richer host transports. All exchanges use fixed caller storage.
Fields§
§address: SocketAddrV4§repository_path: &'a str§wire_storage: &'a mut [u8]Trait Implementations§
Source§impl Transport for HttpTransport<'_>
impl Transport for HttpTransport<'_>
Auto Trait Implementations§
impl<'a> !UnwindSafe for HttpTransport<'a>
impl<'a> Freeze for HttpTransport<'a>
impl<'a> RefUnwindSafe for HttpTransport<'a>
impl<'a> Send for HttpTransport<'a>
impl<'a> Sync for HttpTransport<'a>
impl<'a> Unpin for HttpTransport<'a>
impl<'a> UnsafeUnpin for HttpTransport<'a>
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