Struct pbcodec::wire::types::Varint
[−]
[src]
pub struct Varint(pub u64);
Trait Implementations
impl<R: Read> Decode<R> for Varint
[src]
type Future = DecodeVarint<R>
fn decode(reader: R) -> Self::Future
[src]
fn decode_into<T>(reader: R) -> DecodeInto<R, Self, T> where
T: From<Self>,
[src]
T: From<Self>,
fn decode_try_into<T>(reader: R) -> DecodeTryInto<R, Self, T> where
T: TryFrom<Self>,
[src]
T: TryFrom<Self>,
impl<W: Write> Encode<W> for Varint
[src]
type Future = EncodeVarint<W>
fn encode(self, writer: W) -> Self::Future
[src]
fn encoded_size(&self) -> u64
[src]
impl TryFrom<Varint> for Bool
[src]
impl TryFrom<Varint> for Int32
[src]
impl From<Varint> for Int64
[src]
impl TryFrom<Varint> for Uint32
[src]
impl From<Varint> for Uint64
[src]
impl TryFrom<Varint> for Sint32
[src]
impl From<Varint> for Sint64
[src]
impl Debug for Varint
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more