pub struct BitcoinVector;Implementations§
Source§impl BitcoinVector
impl BitcoinVector
Sourcepub fn read<R: Read, E, F>(
reader: R,
func: F,
) -> Result<Vec<E>, TransactionError>
pub fn read<R: Read, E, F>( reader: R, func: F, ) -> Result<Vec<E>, TransactionError>
Read and output a vector with a variable length integer
Sourcepub fn read_witness<R: Read, E, F>(
reader: R,
func: F,
) -> Result<(usize, Result<Vec<E>, TransactionError>), TransactionError>
pub fn read_witness<R: Read, E, F>( reader: R, func: F, ) -> Result<(usize, Result<Vec<E>, TransactionError>), TransactionError>
Read and output a vector with a variable length integer and the integer itself
Auto Trait Implementations§
impl Freeze for BitcoinVector
impl RefUnwindSafe for BitcoinVector
impl Send for BitcoinVector
impl Sync for BitcoinVector
impl Unpin for BitcoinVector
impl UnwindSafe for BitcoinVector
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