pub trait PacketList {
    // Required method
    fn packets() -> &'static [(i32, &'static str)];
}

Required Methods§

source

fn packets() -> &'static [(i32, &'static str)]

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<A: Packet> PacketList for (A,)

source§

fn packets() -> &'static [(i32, &'static str)]

source§

impl<A: Packet, B: Packet> PacketList for (A, B)

source§

fn packets() -> &'static [(i32, &'static str)]

source§

impl<A: Packet, B: Packet, C: Packet> PacketList for (A, B, C)

source§

fn packets() -> &'static [(i32, &'static str)]

source§

impl<A: Packet, B: Packet, C: Packet, D: Packet> PacketList for (A, B, C, D)

source§

fn packets() -> &'static [(i32, &'static str)]

source§

impl<A: Packet, B: Packet, C: Packet, D: Packet, E: Packet> PacketList for (A, B, C, D, E)

source§

fn packets() -> &'static [(i32, &'static str)]

source§

impl<A: Packet, B: Packet, C: Packet, D: Packet, E: Packet, F: Packet> PacketList for (A, B, C, D, E, F)

source§

fn packets() -> &'static [(i32, &'static str)]

source§

impl<A: Packet, B: Packet, C: Packet, D: Packet, E: Packet, F: Packet, G: Packet> PacketList for (A, B, C, D, E, F, G)

source§

fn packets() -> &'static [(i32, &'static str)]

source§

impl<A: Packet, B: Packet, C: Packet, D: Packet, E: Packet, F: Packet, G: Packet, H: Packet> PacketList for (A, B, C, D, E, F, G, H)

source§

fn packets() -> &'static [(i32, &'static str)]

source§

impl<A: Packet, B: Packet, C: Packet, D: Packet, E: Packet, F: Packet, G: Packet, H: Packet, I: Packet> PacketList for (A, B, C, D, E, F, G, H, I)

source§

fn packets() -> &'static [(i32, &'static str)]

source§

impl<A: Packet, B: Packet, C: Packet, D: Packet, E: Packet, F: Packet, G: Packet, H: Packet, I: Packet, J: Packet> PacketList for (A, B, C, D, E, F, G, H, I, J)

source§

fn packets() -> &'static [(i32, &'static str)]

source§

impl<A: Packet, B: Packet, C: Packet, D: Packet, E: Packet, F: Packet, G: Packet, H: Packet, I: Packet, J: Packet, K: Packet> PacketList for (A, B, C, D, E, F, G, H, I, J, K)

source§

fn packets() -> &'static [(i32, &'static str)]

Implementors§