Struct flipdot_core::ChunkCount[][src]

pub struct ChunkCount(pub u16);

The number of chunks sent in SendData messages, reported by DataChunksSent.

Examples

use flipdot_core::{ChunkCount, Message};

// Assume we just sent three SendData messages. That should be followed with:
let message = Message::DataChunksSent(ChunkCount(3));

Trait Implementations

impl Clone for ChunkCount[src]

impl Copy for ChunkCount[src]

impl Debug for ChunkCount[src]

impl Display for ChunkCount[src]

impl Eq for ChunkCount[src]

impl Hash for ChunkCount[src]

impl LowerHex for ChunkCount[src]

impl PartialEq<ChunkCount> for ChunkCount[src]

impl StructuralEq for ChunkCount[src]

impl StructuralPartialEq for ChunkCount[src]

impl UpperHex for ChunkCount[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.