pub enum CalculatorDivideResult {
Response(CalculatorDivideResponse),
Err(DivisionError),
FrameworkErr(FrameworkError),
}
Variants§
Trait Implementations§
Source§impl Clone for CalculatorDivideResult
impl Clone for CalculatorDivideResult
Source§fn clone(&self) -> CalculatorDivideResult
fn clone(&self) -> CalculatorDivideResult
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 CalculatorDivideResult
impl Debug for CalculatorDivideResult
Source§impl Encodable for CalculatorDivideResult
impl Encodable for CalculatorDivideResult
Source§type Encoded<'buf> = WireCalculatorDivideResult<'buf>
type Encoded<'buf> = WireCalculatorDivideResult<'buf>
The wire type for the value.
Source§impl EncodableOption for Box<CalculatorDivideResult>
impl EncodableOption for Box<CalculatorDivideResult>
Source§type EncodedOption<'buf> = WireOptionalCalculatorDivideResult<'buf>
type EncodedOption<'buf> = WireOptionalCalculatorDivideResult<'buf>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for CalculatorDivideResultwhere
___E: Encoder + ?Sized,
CalculatorDivideResponse: Encode<___E>,
DivisionError: Encode<___E>,
FrameworkError: Encode<___E>,
impl<___E> Encode<___E> for CalculatorDivideResultwhere
___E: Encoder + ?Sized,
CalculatorDivideResponse: Encode<___E>,
DivisionError: Encode<___E>,
FrameworkError: Encode<___E>,
Source§impl<___E> EncodeOption<___E> for Box<CalculatorDivideResult>
impl<___E> EncodeOption<___E> for Box<CalculatorDivideResult>
Source§fn encode_option(
this: Option<&mut Self>,
encoder: &mut ___E,
slot: Slot<'_, Self::EncodedOption<'_>>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<&mut Self>, encoder: &mut ___E, slot: Slot<'_, Self::EncodedOption<'_>>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and slot.
Source§impl<'buf> TakeFrom<WireCalculatorDivideResult<'buf>> for CalculatorDivideResult
impl<'buf> TakeFrom<WireCalculatorDivideResult<'buf>> for CalculatorDivideResult
Source§fn take_from(from: &mut WireCalculatorDivideResult<'buf>) -> Self
fn take_from(from: &mut WireCalculatorDivideResult<'buf>) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.Auto Trait Implementations§
impl Freeze for CalculatorDivideResult
impl RefUnwindSafe for CalculatorDivideResult
impl Send for CalculatorDivideResult
impl Sync for CalculatorDivideResult
impl Unpin for CalculatorDivideResult
impl UnwindSafe for CalculatorDivideResult
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)