Enum pcap_file::Endianness
source · pub enum Endianness {
Big,
Little,
}
Expand description
Endianness of the pcap
Variants§
Implementations§
Trait Implementations§
source§impl Clone for Endianness
impl Clone for Endianness
source§fn clone(&self) -> Endianness
fn clone(&self) -> Endianness
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 Endianness
impl Debug for Endianness
source§impl PartialEq<Endianness> for Endianness
impl PartialEq<Endianness> for Endianness
source§fn eq(&self, other: &Endianness) -> bool
fn eq(&self, other: &Endianness) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.