[−][src]Struct block_buffer::BlockBuffer1152
Methods
impl BlockBuffer1152
[src]
impl BlockBuffer1152
pub fn input<F: FnMut(&[u8; 144])>(&mut self, input: &[u8], func: F)
[src]
pub fn input<F: FnMut(&[u8; 144])>(&mut self, input: &[u8], func: F)
pub fn len_padding<F>(&mut self, data_len: u64, func: F) where
F: FnMut(&[u8; 144]),
[src]
pub fn len_padding<F>(&mut self, data_len: u64, func: F) where
F: FnMut(&[u8; 144]),
Will pad message with message length in big-endian format
pub fn len_padding_u128<F>(&mut self, hi: u64, lo: u64, func: F) where
F: FnMut(&[u8; 144]),
[src]
pub fn len_padding_u128<F>(&mut self, hi: u64, lo: u64, func: F) where
F: FnMut(&[u8; 144]),
pub fn pad_with<P: Padding>(&mut self) -> &mut [u8; 144]
[src]
pub fn pad_with<P: Padding>(&mut self) -> &mut [u8; 144]
pub fn size(&self) -> usize
[src]
pub fn size(&self) -> usize
pub fn position(&self) -> usize
[src]
pub fn position(&self) -> usize
pub fn remaining(&self) -> usize
[src]
pub fn remaining(&self) -> usize
Trait Implementations
impl Copy for BlockBuffer1152
[src]
impl Copy for BlockBuffer1152
impl Clone for BlockBuffer1152
[src]
impl Clone for BlockBuffer1152
fn clone(&self) -> Self
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for BlockBuffer1152
[src]
impl Default for BlockBuffer1152
Auto Trait Implementations
impl Send for BlockBuffer1152
impl Send for BlockBuffer1152
impl Sync for BlockBuffer1152
impl Sync for BlockBuffer1152
Blanket Implementations
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
🔬 This is a nightly-only experimental API. (
try_from
)Performs the conversion.
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
🔬 This is a nightly-only experimental API. (
try_from
)Performs the conversion.
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more