#[non_exhaustive]pub struct InvalidSignalDecoderBuilder { /* private fields */ }Expand description
A builder for InvalidSignalDecoder.
Implementations§
source§impl InvalidSignalDecoderBuilder
impl InvalidSignalDecoderBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of a signal decoder that isn't valid.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of a signal decoder that isn't valid.
sourcepub fn reason(self, input: SignalDecoderFailureReason) -> Self
pub fn reason(self, input: SignalDecoderFailureReason) -> Self
A message about why the signal decoder isn't valid.
sourcepub fn set_reason(self, input: Option<SignalDecoderFailureReason>) -> Self
pub fn set_reason(self, input: Option<SignalDecoderFailureReason>) -> Self
A message about why the signal decoder isn't valid.
sourcepub fn get_reason(&self) -> &Option<SignalDecoderFailureReason>
pub fn get_reason(&self) -> &Option<SignalDecoderFailureReason>
A message about why the signal decoder isn't valid.
sourcepub fn hint(self, input: impl Into<String>) -> Self
pub fn hint(self, input: impl Into<String>) -> Self
The possible cause for the invalid signal decoder.
sourcepub fn set_hint(self, input: Option<String>) -> Self
pub fn set_hint(self, input: Option<String>) -> Self
The possible cause for the invalid signal decoder.
sourcepub fn build(self) -> InvalidSignalDecoder
pub fn build(self) -> InvalidSignalDecoder
Consumes the builder and constructs a InvalidSignalDecoder.
Trait Implementations§
source§impl Clone for InvalidSignalDecoderBuilder
impl Clone for InvalidSignalDecoderBuilder
source§fn clone(&self) -> InvalidSignalDecoderBuilder
fn clone(&self) -> InvalidSignalDecoderBuilder
Returns a copy 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 moresource§impl Debug for InvalidSignalDecoderBuilder
impl Debug for InvalidSignalDecoderBuilder
source§impl Default for InvalidSignalDecoderBuilder
impl Default for InvalidSignalDecoderBuilder
source§fn default() -> InvalidSignalDecoderBuilder
fn default() -> InvalidSignalDecoderBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for InvalidSignalDecoderBuilder
impl PartialEq for InvalidSignalDecoderBuilder
source§fn eq(&self, other: &InvalidSignalDecoderBuilder) -> bool
fn eq(&self, other: &InvalidSignalDecoderBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InvalidSignalDecoderBuilder
Auto Trait Implementations§
impl RefUnwindSafe for InvalidSignalDecoderBuilder
impl Send for InvalidSignalDecoderBuilder
impl Sync for InvalidSignalDecoderBuilder
impl Unpin for InvalidSignalDecoderBuilder
impl UnwindSafe for InvalidSignalDecoderBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.