pub struct SignedExchangeErrorBuilder { /* private fields */ }Expand description
Builder for SignedExchangeError.
Implementations§
Source§impl SignedExchangeErrorBuilder
impl SignedExchangeErrorBuilder
Sourcepub fn signature_index<VALUE: Into<JsUInt>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn signature_index<VALUE: Into<JsUInt>>( &mut self, value: VALUE, ) -> &mut Self
The index of the signature which caused the error.
Sourcepub fn error_field<VALUE: Into<SignedExchangeErrorField>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn error_field<VALUE: Into<SignedExchangeErrorField>>( &mut self, value: VALUE, ) -> &mut Self
The field which caused the error.
Sourcepub fn build(
&self,
) -> Result<SignedExchangeError, SignedExchangeErrorBuilderError>
pub fn build( &self, ) -> Result<SignedExchangeError, SignedExchangeErrorBuilderError>
Trait Implementations§
Source§impl Clone for SignedExchangeErrorBuilder
impl Clone for SignedExchangeErrorBuilder
Source§fn clone(&self) -> SignedExchangeErrorBuilder
fn clone(&self) -> SignedExchangeErrorBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SignedExchangeErrorBuilder
impl RefUnwindSafe for SignedExchangeErrorBuilder
impl Send for SignedExchangeErrorBuilder
impl Sync for SignedExchangeErrorBuilder
impl Unpin for SignedExchangeErrorBuilder
impl UnsafeUnpin for SignedExchangeErrorBuilder
impl UnwindSafe for SignedExchangeErrorBuilder
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