pub struct UnaryGetRequest { /* private fields */ }Expand description
A Connect unary GET request.
Implementations§
Trait Implementations§
Source§impl From<UnaryGetRequest> for Request<()>
impl From<UnaryGetRequest> for Request<()>
Source§fn from(req: UnaryGetRequest) -> Self
fn from(req: UnaryGetRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for UnaryGetRequest
impl !RefUnwindSafe for UnaryGetRequest
impl Send for UnaryGetRequest
impl Sync for UnaryGetRequest
impl Unpin for UnaryGetRequest
impl !UnwindSafe for UnaryGetRequest
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
Source§impl<T> ConnectRequest for Twhere
T: HttpConnectRequest,
impl<T> ConnectRequest for Twhere
T: HttpConnectRequest,
Source§fn connect_protocol_version(&self) -> Option<&str>
fn connect_protocol_version(&self) -> Option<&str>
Returns the connect protocol version.
Returns the URI authority.
Source§fn content_encoding(&self) -> Option<&str>
fn content_encoding(&self) -> Option<&str>
Returns the content encoding (e.g. compression).
Source§fn accept_encoding(&self) -> impl Iterator<Item = &str>
fn accept_encoding(&self) -> impl Iterator<Item = &str>
Returns the accept encoding(s).