pub struct SetReturnValueBuilder { /* private fields */ }Expand description
Builder for SetReturnValue.
Implementations§
Source§impl SetReturnValueBuilder
impl SetReturnValueBuilder
Sourcepub fn new_value<VALUE: Into<CallArgument>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn new_value<VALUE: Into<CallArgument>>( &mut self, value: VALUE, ) -> &mut Self
New return value.
Sourcepub fn build(&self) -> Result<SetReturnValue, SetReturnValueBuilderError>
pub fn build(&self) -> Result<SetReturnValue, SetReturnValueBuilderError>
Trait Implementations§
Source§impl Clone for SetReturnValueBuilder
impl Clone for SetReturnValueBuilder
Source§fn clone(&self) -> SetReturnValueBuilder
fn clone(&self) -> SetReturnValueBuilder
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 SetReturnValueBuilder
impl RefUnwindSafe for SetReturnValueBuilder
impl Send for SetReturnValueBuilder
impl Sync for SetReturnValueBuilder
impl Unpin for SetReturnValueBuilder
impl UnsafeUnpin for SetReturnValueBuilder
impl UnwindSafe for SetReturnValueBuilder
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