pub type NetworkOrder<T> = BigEndian<T>;
Expand description
Network byte order as defined by IETF RFC1700 [http://tools.ietf.org/html/rfc1700]
Aliased Type§
struct NetworkOrder<T>(/* private fields */);
Implementations
Trait Implementations
Source§impl From<LittleEndian<i16>> for BigEndian<i16>
impl From<LittleEndian<i16>> for BigEndian<i16>
Source§fn from(data: LittleEndian<i16>) -> Self
fn from(data: LittleEndian<i16>) -> Self
Converts to this type from the input type.
Source§impl From<LittleEndian<i32>> for BigEndian<i32>
impl From<LittleEndian<i32>> for BigEndian<i32>
Source§fn from(data: LittleEndian<i32>) -> Self
fn from(data: LittleEndian<i32>) -> Self
Converts to this type from the input type.
Source§impl From<LittleEndian<i64>> for BigEndian<i64>
impl From<LittleEndian<i64>> for BigEndian<i64>
Source§fn from(data: LittleEndian<i64>) -> Self
fn from(data: LittleEndian<i64>) -> Self
Converts to this type from the input type.
Source§impl From<LittleEndian<isize>> for BigEndian<isize>
impl From<LittleEndian<isize>> for BigEndian<isize>
Source§fn from(data: LittleEndian<isize>) -> Self
fn from(data: LittleEndian<isize>) -> Self
Converts to this type from the input type.
Source§impl From<LittleEndian<u16>> for BigEndian<u16>
impl From<LittleEndian<u16>> for BigEndian<u16>
Source§fn from(data: LittleEndian<u16>) -> Self
fn from(data: LittleEndian<u16>) -> Self
Converts to this type from the input type.
Source§impl From<LittleEndian<u32>> for BigEndian<u32>
impl From<LittleEndian<u32>> for BigEndian<u32>
Source§fn from(data: LittleEndian<u32>) -> Self
fn from(data: LittleEndian<u32>) -> Self
Converts to this type from the input type.
Source§impl From<LittleEndian<u64>> for BigEndian<u64>
impl From<LittleEndian<u64>> for BigEndian<u64>
Source§fn from(data: LittleEndian<u64>) -> Self
fn from(data: LittleEndian<u64>) -> Self
Converts to this type from the input type.
Source§impl From<LittleEndian<usize>> for BigEndian<usize>
impl From<LittleEndian<usize>> for BigEndian<usize>
Source§fn from(data: LittleEndian<usize>) -> Self
fn from(data: LittleEndian<usize>) -> Self
Converts to this type from the input type.
Source§impl<T: Ord> Ord for BigEndian<T>
impl<T: Ord> Ord for BigEndian<T>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more