Struct ssh_encoding::DigestWriter
source · pub struct DigestWriter<'d, D>(pub &'d mut D);
Available on crate feature
digest
only.Expand description
Wrapper for digests.
This allows to update digests from the serializer directly.
Tuple Fields§
§0: &'d mut D
Trait Implementations§
source§impl<'d, D: Debug> Debug for DigestWriter<'d, D>
impl<'d, D: Debug> Debug for DigestWriter<'d, D>
Auto Trait Implementations§
impl<'d, D> Freeze for DigestWriter<'d, D>
impl<'d, D> RefUnwindSafe for DigestWriter<'d, D>where
D: RefUnwindSafe,
impl<'d, D> Send for DigestWriter<'d, D>where
D: Send,
impl<'d, D> Sync for DigestWriter<'d, D>where
D: Sync,
impl<'d, D> Unpin for DigestWriter<'d, D>
impl<'d, D> !UnwindSafe for DigestWriter<'d, D>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more