pub struct StrictSourceRoute {
pub pointer: u8,
pub data_length: u8,
pub route_data: [u8; 37],
}Expand description
Strict Source Routing.
Maximum data length is 37 bytes (40 max options size - 3 bytes header).
Fields§
§pointer: u8Pointer to the next available space.
data_length: u8Length of the route data.
route_data: [u8; 37]The route data (up to 37 bytes).
Implementations§
Trait Implementations§
Source§impl Clone for StrictSourceRoute
impl Clone for StrictSourceRoute
Source§fn clone(&self) -> StrictSourceRoute
fn clone(&self) -> StrictSourceRoute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Codec for StrictSourceRoute
impl Codec for StrictSourceRoute
Source§impl Debug for StrictSourceRoute
impl Debug for StrictSourceRoute
impl Eq for StrictSourceRoute
Source§impl Hash for StrictSourceRoute
impl Hash for StrictSourceRoute
Source§impl Ord for StrictSourceRoute
impl Ord for StrictSourceRoute
Source§fn cmp(&self, other: &StrictSourceRoute) -> Ordering
fn cmp(&self, other: &StrictSourceRoute) -> Ordering
1.21.0 (const: unstable) · 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
Source§impl PartialEq for StrictSourceRoute
impl PartialEq for StrictSourceRoute
Source§impl PartialOrd for StrictSourceRoute
impl PartialOrd for StrictSourceRoute
impl StructuralPartialEq for StrictSourceRoute
Auto Trait Implementations§
impl Freeze for StrictSourceRoute
impl RefUnwindSafe for StrictSourceRoute
impl Send for StrictSourceRoute
impl Sync for StrictSourceRoute
impl Unpin for StrictSourceRoute
impl UnsafeUnpin for StrictSourceRoute
impl UnwindSafe for StrictSourceRoute
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