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