pub type UdpResponseText = String;Expand description
A type alias for a text UDP response.
Aliased Type§
pub struct UdpResponseText { /* private fields */ }Trait Implementations§
Source§impl ResponseTrait for UdpResponseText
Implements the ResponseTrait for UdpResponseText.
impl ResponseTrait for UdpResponseText
Implements the ResponseTrait for UdpResponseText.
Source§fn text(&self) -> Self::OutputText
fn text(&self) -> Self::OutputText
Returns the text representation of the response.
§Returns
Self::OutputText- The text data of the response.
Source§fn binary(&self) -> UdpResponseBinary
fn binary(&self) -> UdpResponseBinary
Converts the text response to its binary representation.
§Returns
UdpResponseBinary- The binary representation of the response.
Source§type OutputText = String
type OutputText = String
The associated type for the text representation of the response.
Source§type OutputBinary = Vec<u8>
type OutputBinary = Vec<u8>
The associated type for the binary representation of the response.