pub type TcpResponseBinary = Vec<u8>;
Expand description
Binary response type for TCP requests (Vec
Aliased Type§
pub struct TcpResponseBinary { /* private fields */ }
Trait Implementations§
Source§impl ResponseTrait for TcpResponseBinary
ResponseTrait implementation for binary TCP responses.
impl ResponseTrait for TcpResponseBinary
ResponseTrait implementation for binary TCP responses.
Source§fn binary(&self) -> Self::OutputBinary
fn binary(&self) -> Self::OutputBinary
Gets the binary representation of the response.
§Returns
Self::OutputBinary
- The binary response data.
Source§fn text(&self) -> TcpResponseText
fn text(&self) -> TcpResponseText
Converts the binary response to text representation.
§Returns
TcpResponseText
- The text representation of the response.