pub struct SignedExchangeErrorBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> SignedExchangeErrorBuilder<'a>
impl<'a> SignedExchangeErrorBuilder<'a>
Sourcepub fn signature_index(self, signature_index: u64) -> Self
pub fn signature_index(self, signature_index: u64) -> Self
The index of the signature which caused the error.
Sourcepub fn error_field(
self,
error_field: impl Into<SignedExchangeErrorField>,
) -> Self
pub fn error_field( self, error_field: impl Into<SignedExchangeErrorField>, ) -> Self
The field which caused the error.
pub fn build(self) -> SignedExchangeError<'a>
Auto Trait Implementations§
impl<'a> Freeze for SignedExchangeErrorBuilder<'a>
impl<'a> RefUnwindSafe for SignedExchangeErrorBuilder<'a>
impl<'a> Send for SignedExchangeErrorBuilder<'a>
impl<'a> Sync for SignedExchangeErrorBuilder<'a>
impl<'a> Unpin for SignedExchangeErrorBuilder<'a>
impl<'a> UnsafeUnpin for SignedExchangeErrorBuilder<'a>
impl<'a> UnwindSafe for SignedExchangeErrorBuilder<'a>
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