pub struct InvalidConfigContextBuilder { /* private fields */ }Expand description
Builder for InvalidConfigContext.
Implementations§
Source§impl InvalidConfigContextBuilder
impl InvalidConfigContextBuilder
pub fn exchange<VALUE: Into<ExchangeId>>(self, value: VALUE) -> Self
pub fn config_key<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn message<VALUE: Into<String>>(self, value: VALUE) -> Self
Sourcepub fn build(
self,
) -> Result<InvalidConfigContext, InvalidConfigContextBuilderError>
pub fn build( self, ) -> Result<InvalidConfigContext, InvalidConfigContextBuilderError>
Trait Implementations§
Source§impl From<InvalidConfigContextBuilder> for Error
impl From<InvalidConfigContextBuilder> for Error
Source§fn from(builder: InvalidConfigContextBuilder) -> Self
fn from(builder: InvalidConfigContextBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidConfigContextBuilder
impl RefUnwindSafe for InvalidConfigContextBuilder
impl Send for InvalidConfigContextBuilder
impl Sync for InvalidConfigContextBuilder
impl Unpin for InvalidConfigContextBuilder
impl UnsafeUnpin for InvalidConfigContextBuilder
impl UnwindSafe for InvalidConfigContextBuilder
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