[][src]Enum atsame70j21b::gmac::gmac_st2cw::gmac_st2cw1::OFFSSTRT_A

#[repr(u8)]pub enum OFFSSTRT_A {
    FRAMESTART,
    ETHERTYPE,
    IP,
    TCP_UDP,
}

Ethernet Frame Offset Start

Value on reset: 0

Variants

FRAMESTART

0: Offset from the start of the frame

ETHERTYPE

1: Offset from the byte after the EtherType field

IP

2: Offset from the byte after the IP header field

TCP_UDP

3: Offset from the byte after the TCP/UDP header field

Trait Implementations

impl Clone for OFFSSTRT_A[src]

impl Copy for OFFSSTRT_A[src]

impl Debug for OFFSSTRT_A[src]

impl From<OFFSSTRT_A> for u8[src]

impl PartialEq<OFFSSTRT_A> for OFFSSTRT_A[src]

impl StructuralPartialEq for OFFSSTRT_A[src]

Auto Trait Implementations

impl Send for OFFSSTRT_A

impl Sync for OFFSSTRT_A

impl Unpin for OFFSSTRT_A

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.