Struct smoltcp::phy::RawSocket [] [src]

pub struct RawSocket { /* fields omitted */ }

A socket that captures or transmits the complete frame.

Methods

impl RawSocket
[src]

[src]

Creates a raw socket, bound to the interface called name.

This requires superuser privileges or a corresponding capability bit set on the executable.

Trait Implementations

impl Debug for RawSocket
[src]

[src]

Formats the value using the given formatter.

impl AsRawFd for RawSocket
[src]

[src]

Extracts the raw file descriptor. Read more

impl Device for RawSocket
[src]

[src]

Get a description of device limitations.

[src]

Receive a frame. Read more

[src]

Transmit a frame. Read more