Enum ospf_parser::Ospfv2Packet[][src]

pub enum Ospfv2Packet {
    Hello(OspfHelloPacket),
    DatabaseDescription(OspfDatabaseDescriptionPacket),
    LinkStateRequest(OspfLinkStateRequestPacket),
    LinkStateUpdate(OspfLinkStateUpdatePacket),
    LinkStateAcknowledgment(OspfLinkStateAcknowledgmentPacket),
}
Expand description

An OSPF version 2 packet

Variants

Tuple Fields of Hello

0: OspfHelloPacket
DatabaseDescription(OspfDatabaseDescriptionPacket)

Tuple Fields of DatabaseDescription

0: OspfDatabaseDescriptionPacket
LinkStateRequest(OspfLinkStateRequestPacket)

Tuple Fields of LinkStateRequest

0: OspfLinkStateRequestPacket
LinkStateUpdate(OspfLinkStateUpdatePacket)

Tuple Fields of LinkStateUpdate

0: OspfLinkStateUpdatePacket
LinkStateAcknowledgment(OspfLinkStateAcknowledgmentPacket)

Tuple Fields of LinkStateAcknowledgment

0: OspfLinkStateAcknowledgmentPacket

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.