[][src]Struct glib::Checksum

pub struct Checksum(_);

Methods

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
[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> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?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.