pub struct InstallabilityErrorBuilder { /* private fields */ }
Implementations§
Source§impl InstallabilityErrorBuilder
impl InstallabilityErrorBuilder
pub fn error_id(self, error_id: impl Into<String>) -> InstallabilityErrorBuilder
pub fn error_argument( self, error_argument: impl Into<InstallabilityErrorArgument>, ) -> InstallabilityErrorBuilder
pub fn error_arguments<I, S>( self, error_arguments: I, ) -> InstallabilityErrorBuilder
pub fn build(self) -> Result<InstallabilityError, String>
Trait Implementations§
Source§impl Clone for InstallabilityErrorBuilder
impl Clone for InstallabilityErrorBuilder
Source§fn clone(&self) -> InstallabilityErrorBuilder
fn clone(&self) -> InstallabilityErrorBuilder
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 Default for InstallabilityErrorBuilder
impl Default for InstallabilityErrorBuilder
Source§fn default() -> InstallabilityErrorBuilder
fn default() -> InstallabilityErrorBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InstallabilityErrorBuilder
impl RefUnwindSafe for InstallabilityErrorBuilder
impl Send for InstallabilityErrorBuilder
impl Sync for InstallabilityErrorBuilder
impl Unpin for InstallabilityErrorBuilder
impl UnwindSafe for InstallabilityErrorBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more