pub struct TcpResponseBinary {
pub data: Vec<u8>,
}
Fields§
§data: Vec<u8>
Trait Implementations§
Source§impl Clone for TcpResponseBinary
impl Clone for TcpResponseBinary
Source§fn clone(&self) -> TcpResponseBinary
fn clone(&self) -> TcpResponseBinary
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TcpResponseBinary
impl Debug for TcpResponseBinary
Source§impl Default for TcpResponseBinary
impl Default for TcpResponseBinary
Source§impl PartialEq for TcpResponseBinary
impl PartialEq for TcpResponseBinary
Source§impl ResponseTrait for TcpResponseBinary
impl ResponseTrait for TcpResponseBinary
type OutputText = TcpResponseText
type OutputBinary = TcpResponseBinary
fn from(response: &[u8]) -> Selfwhere
Self: Sized,
fn binary(&self) -> Self::OutputBinary
fn text(&self) -> TcpResponseText
fn decode(&self) -> TcpResponseBinary
impl Eq for TcpResponseBinary
impl StructuralPartialEq for TcpResponseBinary
Auto Trait Implementations§
impl Freeze for TcpResponseBinary
impl RefUnwindSafe for TcpResponseBinary
impl Send for TcpResponseBinary
impl Sync for TcpResponseBinary
impl Unpin for TcpResponseBinary
impl UnwindSafe for TcpResponseBinary
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