Struct glib::Checksum
[−]
[src]
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]
fn clone(&self) -> Checksum
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Checksum
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl StaticType for Checksum
[src]
fn static_type() -> Type
[src]
Returns the type identifier of Self
.