Struct lib_sendpacket::Payload
[−]
[src]
pub struct Payload { pub payload: Vec<u8>, }
Fields
payload: Vec<u8>
Methods
impl Payload
[src]
Trait Implementations
impl Clone for Payload
[src]
fn clone(&self) -> Payload
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Payload
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Payload
[src]
fn eq(&self, __arg_0: &Payload) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Payload) -> bool
[src]
This method tests for !=
.
impl Eq for Payload
[src]
impl Div<Payload> for Ether
[src]
type Output = Package<Self>
The resulting type after applying the /
operator.
fn div(self, rhs: Payload) -> Self::Output
[src]
Performs the /
operation.
impl Div<Payload> for L2
[src]
type Output = Package<Self>
The resulting type after applying the /
operator.
fn div(self, rhs: Payload) -> Self::Output
[src]
Performs the /
operation.
impl Div<Payload> for L3
[src]
type Output = Package<Self>
The resulting type after applying the /
operator.
fn div(self, rhs: Payload) -> Self::Output
[src]
Performs the /
operation.