Union diplomat_runtime::result::DiplomatResultValue
source · #[repr(C)]
union DiplomatResultValue<T, E> {
ok: ManuallyDrop<T>,
err: ManuallyDrop<E>,
}
Fields§
§ok: ManuallyDrop<T>
§err: ManuallyDrop<E>
Auto Trait Implementations§
impl<T, E> Freeze for DiplomatResultValue<T, E>
impl<T, E> RefUnwindSafe for DiplomatResultValue<T, E>where
T: RefUnwindSafe,
E: RefUnwindSafe,
impl<T, E> Send for DiplomatResultValue<T, E>
impl<T, E> Sync for DiplomatResultValue<T, E>
impl<T, E> Unpin for DiplomatResultValue<T, E>
impl<T, E> UnwindSafe for DiplomatResultValue<T, E>where
T: UnwindSafe,
E: 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