MessageOwned

Type Alias MessageOwned 

Source
pub type MessageOwned = Message<ByteBufOwned>;

Aliased Type§

pub enum MessageOwned {
    Request(Request),
    Cancel(Request),
    Bitfield(ByteBufOwned),
    KeepAlive,
    Have(u32),
    Choke,
    Unchoke,
    Interested,
    NotInterested,
    Piece(Piece<ByteBufOwned>),
    Extended(ExtendedMessage<ByteBufOwned>),
}

Variants§

§

Request(Request)

§

Cancel(Request)

§

Bitfield(ByteBufOwned)

§

KeepAlive

§

Have(u32)

§

Choke

§

Unchoke

§

Interested

§

NotInterested

§

Piece(Piece<ByteBufOwned>)

§

Extended(ExtendedMessage<ByteBufOwned>)