Skip to main content

TableEntry

Trait TableEntry 

Source
pub trait TableEntry: Copy + Sealed {
    // Required methods
    fn from_wire(octets: [u8; 10]) -> Self;
    fn to_wire(self) -> [u8; 10];
}
Expand description

A table entry type: BdtEntry or FdtEntry. Sealed.

Required Methods§

Source

fn from_wire(octets: [u8; 10]) -> Self

The entry ten wire octets hold.

Source

fn to_wire(self) -> [u8; 10]

The entry’s ten wire octets.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§