pub fn new(stack: NetworkReference, phy: EthernetPhy) -> Self {
        Self {
            stack,
            phy,
            network_was_reset: false,
        }
    }
/// Construct a new network processor.
///
/// # Args
/// * `stack` - A reference to the shared network stack
/// * `phy` - The ethernet PHY used for the network.
/// * `clock` - The clock used for providing time to the network.
///
/// # Returns
/// The newly constructed processor.
Construct a new network processor.
Construct a new network processor .
pub fn new(stack: NetworkReference, phy: EthernetPhy) -> Self {
        Self {
            stack,
            phy,
            network_was_reset: false,
        }
    }
pub fn new ( stack : NetworkReference , phy : EthernetPhy ) -> Self { Self { stack , phy , network_was_reset : false , } }
Construct a new network processor.
Construct a new network processor .
stack
NetworkReference
phy
EthernetPhy
The newly constructed processor.
The newly constructed processor .
stack
NetworkReference
phy
EthernetPhy
args
`stack` - A reference to the shared network stack
`phy` - The ethernet PHY used for the network.
`clock` - The clock used for providing time to the network.
` stack ` - A reference to the shared network stack ` phy ` - The ethernet PHY used for the network . ` clock ` - The clock used for providing time to the network .