pub struct UnverifiedTransactionSlice<'a, P: ?Sized> {
data: &'a [u8],
phantom: PhantomData<P>,
}
Fields§
§data: &'a [u8]
§phantom: PhantomData<P>
Implementations§
source§impl<'a, P: Payload> UnverifiedTransactionSlice<'a, P>
impl<'a, P: Payload> UnverifiedTransactionSlice<'a, P>
pub fn check(self) -> Result<TransactionSlice<'a, P>, TransactionStructError>
Trait Implementations§
Auto Trait Implementations§
impl<'a, P: ?Sized> RefUnwindSafe for UnverifiedTransactionSlice<'a, P>where P: RefUnwindSafe,
impl<'a, P: ?Sized> Send for UnverifiedTransactionSlice<'a, P>where P: Send,
impl<'a, P: ?Sized> Sync for UnverifiedTransactionSlice<'a, P>where P: Sync,
impl<'a, P: ?Sized> Unpin for UnverifiedTransactionSlice<'a, P>where P: Unpin,
impl<'a, P: ?Sized> UnwindSafe for UnverifiedTransactionSlice<'a, P>where P: UnwindSafe,
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