[][src]Struct koibumi_core::var_type::VarIntList

pub struct VarIntList(_);

A variable length list of integers used by the Bitmessage protocol.

Implementations

impl VarIntList[src]

pub fn new(list: Vec<VarInt>) -> Self[src]

Constructs var_int_list from a list of VarInts.

Trait Implementations

impl AsRef<[VarInt]> for VarIntList[src]

impl Clone for VarIntList[src]

impl Debug for VarIntList[src]

impl Eq for VarIntList[src]

impl From<StreamNumbers> for VarIntList[src]

impl From<Vec<VarInt, Global>> for VarIntList[src]

impl Hash for VarIntList[src]

impl LimitedReadFrom for VarIntList[src]

impl Ord for VarIntList[src]

impl PartialEq<VarIntList> for VarIntList[src]

impl PartialOrd<VarIntList> for VarIntList[src]

impl StructuralEq for VarIntList[src]

impl StructuralPartialEq for VarIntList[src]

impl TryFrom<VarIntList> for StreamNumbers[src]

type Error = ConvertStreamNumbersError

The type returned in the event of a conversion error.

impl WriteTo for VarIntList[src]

Auto Trait Implementations

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> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.