pub fn apply_aux<
		'a,
		'b: 'a,
		'c: 'a,
		I: IntoIterator<Item=&'a(&'c [u8], &'c [u8])>,
		D: IntoIterator<Item=&'a &'b [u8]>,
	>(
		&self,
		operation: &mut ClientImportOperation<Block, Blake2Hasher, B>,
		insert: I,
		delete: D
	) -> error::Result<()> {
		operation.op.insert_aux(
			insert.into_iter()
				.map(|(k, v)| (k.to_vec(), Some(v.to_vec())))
				.chain(delete.into_iter().map(|k| (k.to_vec(), None)))
		)
	}
/// Apply auxiliary data insertion into an operation.
Apply auxiliary data insertion into an operation.
Apply auxiliary data insertion into an operation .
pub fn apply_aux<
		'a,
		'b: 'a,
		'c: 'a,
		I: IntoIterator<Item=&'a(&'c [u8], &'c [u8])>,
		D: IntoIterator<Item=&'a &'b [u8]>,
	>(
		&self,
		operation: &mut ClientImportOperation<Block, Blake2Hasher, B>,
		insert: I,
		delete: D
	) -> error::Result<()> {
		operation.op.insert_aux(
			insert.into_iter()
				.map(|(k, v)| (k.to_vec(), Some(v.to_vec())))
				.chain(delete.into_iter().map(|k| (k.to_vec(), None)))
		)
	}
pub fn apply_aux < ' a , ' b : ' a , ' c : ' a , I : IntoIterator < Item = & ' a ( & ' c [ u8 ] , & ' c [ u8 ] ) > , D : IntoIterator < Item = & ' a & ' b [ u8 ] > , > ( & self , operation : & mut ClientImportOperation < Block , Blake2Hasher , B > , insert : I , delete : D ) -> error :: Result < ( ) > { operation . op . insert_aux ( insert . into_iter ( ) . map ( | ( k , v ) | ( k . to_vec ( ) , Some ( v . to_vec ( ) ) ) ) . chain ( delete . into_iter ( ) . map ( | k | ( k . to_vec ( ) , None ) ) ) ) }
Apply auxiliary data insertion into an operation.
Apply auxiliary data insertion into an operation .
&self
operation
&mut ClientImportOperation<Block, Blake2Hasher, B>
insert
I
delete
D
&self
operation
&mut ClientImportOperation<Block, Blake2Hasher, B>
insert
I
delete
D