[][src]Struct glib::Checksum

pub struct Checksum(_);


impl Checksum[src]

pub fn new(checksum_type: ChecksumType) -> Checksum[src]

pub fn reset(&mut self)[src]

pub fn update(&mut self, data: &[u8])[src]

pub fn type_get_length(checksum_type: ChecksumType) -> isize[src]

impl Checksum[src]

pub fn get_digest(self) -> Vec<u8>[src]

pub fn get_string(self) -> Option<String>[src]

Trait Implementations

impl Clone for Checksum[src]

impl Debug 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 Send for Checksum[src]

impl StaticType for Checksum[src]

impl StructuralEq for Checksum[src]

impl StructuralPartialEq for Checksum[src]

impl Sync for Checksum[src]

Auto Trait Implementations

impl RefUnwindSafe for Checksum

impl Unpin for Checksum

impl UnwindSafe for Checksum

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized

impl<T> ToValue for T where
    T: SetValue + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.