pub struct ResponseErrorBuilder(/* private fields */);Expand description
Builder for ResponseError.
Implementations§
Source§impl ResponseErrorBuilder
impl ResponseErrorBuilder
pub fn misalignment(self, value: impl Into<MisalignmentDetails>) -> Self
pub fn type_(self, value: impl Into<String>) -> Self
pub fn param(self, value: impl Into<String>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> ResponseError
pub fn build(self) -> ResponseError
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for ResponseErrorBuilder
impl RefUnwindSafe for ResponseErrorBuilder
impl Send for ResponseErrorBuilder
impl Sync for ResponseErrorBuilder
impl Unpin for ResponseErrorBuilder
impl UnsafeUnpin for ResponseErrorBuilder
impl UnwindSafe for ResponseErrorBuilder
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