Enum teehistorian::chunks::Chunk[][src]

pub enum Chunk<'a> {
    PlayerDiff(PlayerDiff),
    Eos,
    TickSkip(TickSkip),
    PlayerNew(PlayerNew),
    PlayerOld(PlayerOld),
    InputDiff(InputDiff),
    InputNew(InputNew),
    NetMessage(NetMessage<'a>),
    Join(Join),
    Drop(Drop<'a>),
    ConsoleCommand(ConsoleCommand<'a>),
    UnknownEx(UnknownEx<'a>),
    Test,
    DdnetVersionOld(DdnetVersionOld),
    DdnetVersion(DdnetVersion<'a>),
    AuthInit(Auth<'a>),
    AuthLogin(Auth<'a>),
    AuthLogout(AuthLogout),
    JoinVer6(PlayerId),
    JoinVer7(PlayerId),
    TeamSaveSuccess(TeamSave<'a>),
    TeamSaveFailure(Team),
    TeamLoadSuccess(TeamSave<'a>),
    TeamLoadFailure(Team),
}

Variants

PlayerDiff(PlayerDiff)

for file size optimization in the binary representation the tag is left out. Instead the cid is tag (0-63). In the Teeworlds variable-width integer all these numbers have a width of one byte

Eos

End of teehistorian chunk stream (tag -1)

TickSkip(TickSkip)

tag: -2

PlayerNew(PlayerNew)

tag: -3

PlayerOld(PlayerOld)

tag: -4

InputDiff(InputDiff)

tag -5

InputNew(InputNew)

tag: -6

NetMessage(NetMessage<'a>)

tag: -7

Join(Join)

tag: -8

Drop(Drop<'a>)

tag: -9

ConsoleCommand(ConsoleCommand<'a>)

tag: -10

UnknownEx(UnknownEx<'a>)

tag: -11

Test

teehistorian-test@ddnet.tw test extension used in debug mode

DdnetVersionOld(DdnetVersionOld)

teehistorian-ddnetver-old@ddnet.tw

DdnetVersion(DdnetVersion<'a>)

teehistorian-ddnetver@ddnet.tw

AuthInit(Auth<'a>)

teehistorian-auth-init@ddnet.tw

AuthLogin(Auth<'a>)

teehistorian-auth-login@ddnet.tw

AuthLogout(AuthLogout)

teehistorian-auth-logout@ddnet.tw

JoinVer6(PlayerId)

teehistorian-joinver6@ddnet.tw

JoinVer7(PlayerId)

teehistorian-joinver7@ddnet.tw

TeamSaveSuccess(TeamSave<'a>)

teehistorian-save-success@ddnet.tw

TeamSaveFailure(Team)
TeamLoadSuccess(TeamSave<'a>)
TeamLoadFailure(Team)

Trait Implementations

impl<'a> Debug for Chunk<'a>[src]

impl<'a> PartialEq<Chunk<'a>> for Chunk<'a>[src]

impl<'a> StructuralPartialEq for Chunk<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Chunk<'a>

impl<'a> Send for Chunk<'a>

impl<'a> Sync for Chunk<'a>

impl<'a> Unpin for Chunk<'a>

impl<'a> UnwindSafe for Chunk<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.