[][src]Struct koibumi_core::packet::Checksum

pub struct Checksum(_);

A checksum of a Bitmessage packet.

Implementations

impl Checksum[src]

pub fn new(value: [u8; 4]) -> Self[src]

Constructs a checksum from a byte array.

Trait Implementations

impl AsRef<[u8]> for Checksum[src]

impl Clone for Checksum[src]

impl Copy for Checksum[src]

impl Debug for Checksum[src]

impl Display for Checksum[src]

impl Eq for Checksum[src]

impl Hash for Checksum[src]

impl Ord for Checksum[src]

impl PartialEq<Checksum> for Checksum[src]

impl PartialOrd<Checksum> for Checksum[src]

impl ReadFrom for Checksum[src]

impl StructuralEq for Checksum[src]

impl StructuralPartialEq for Checksum[src]

impl WriteTo for Checksum[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> ReadFromExact for T where
    T: ReadFrom
[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> 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.