Enum deltoid::result::ResultDelta
source · pub enum ResultDelta<T: Core, E: Core> {
OkDelta(<T as Core>::Delta),
ErrDelta(<E as Core>::Delta),
None,
}
Variants§
Trait Implementations§
source§impl<T: Clone + Core, E: Clone + Core> Clone for ResultDelta<T, E>
impl<T: Clone + Core, E: Clone + Core> Clone for ResultDelta<T, E>
source§fn clone(&self) -> ResultDelta<T, E>
fn clone(&self) -> ResultDelta<T, E>
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<'de, T, E> Deserialize<'de> for ResultDelta<T, E>where
T: Deserialize<'de> + Core,
E: Deserialize<'de> + Core,
impl<'de, T, E> Deserialize<'de> for ResultDelta<T, E>where T: Deserialize<'de> + Core, E: Deserialize<'de> + Core,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T: PartialEq + Core, E: PartialEq + Core> PartialEq<ResultDelta<T, E>> for ResultDelta<T, E>
impl<T: PartialEq + Core, E: PartialEq + Core> PartialEq<ResultDelta<T, E>> for ResultDelta<T, E>
source§fn eq(&self, other: &ResultDelta<T, E>) -> bool
fn eq(&self, other: &ResultDelta<T, E>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Core, E: Core> StructuralPartialEq for ResultDelta<T, E>
Auto Trait Implementations§
impl<T, E> RefUnwindSafe for ResultDelta<T, E>where <E as Core>::Delta: RefUnwindSafe, <T as Core>::Delta: RefUnwindSafe,
impl<T, E> Send for ResultDelta<T, E>where <E as Core>::Delta: Send, <T as Core>::Delta: Send,
impl<T, E> Sync for ResultDelta<T, E>where <E as Core>::Delta: Sync, <T as Core>::Delta: Sync,
impl<T, E> Unpin for ResultDelta<T, E>where <E as Core>::Delta: Unpin, <T as Core>::Delta: Unpin,
impl<T, E> UnwindSafe for ResultDelta<T, E>where <E as Core>::Delta: UnwindSafe, <T as Core>::Delta: UnwindSafe,
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