pub struct Encoder<'a, S: BlockStorage<BS>, const BS: usize> {
pub convergence_secret: [u8; 32],
pub block_storage: &'a S,
}
Fields§
§convergence_secret: [u8; 32]
§block_storage: &'a S
Implementations§
Auto Trait Implementations§
impl<'a, S, const BS: usize> Freeze for Encoder<'a, S, BS>
impl<'a, S, const BS: usize> RefUnwindSafe for Encoder<'a, S, BS>where
S: RefUnwindSafe,
impl<'a, S, const BS: usize> Send for Encoder<'a, S, BS>where
S: Sync,
impl<'a, S, const BS: usize> Sync for Encoder<'a, S, BS>where
S: Sync,
impl<'a, S, const BS: usize> Unpin for Encoder<'a, S, BS>
impl<'a, S, const BS: usize> UnwindSafe for Encoder<'a, S, BS>where
S: RefUnwindSafe,
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