Union executorch_sys::torch::executor::Result__bindgen_ty_1
source · #[repr(C)]
pub union Result__bindgen_ty_1<T> {
pub value_: ManuallyDrop<T>,
pub error_: ManuallyDrop<Error>,
pub _phantom_0: PhantomData<UnsafeCell<T>>,
}Fields§
§value_: ManuallyDrop<T>§error_: ManuallyDrop<Error>§_phantom_0: PhantomData<UnsafeCell<T>>Auto Trait Implementations§
impl<T> Freeze for Result__bindgen_ty_1<T>where
T: Freeze,
impl<T> !RefUnwindSafe for Result__bindgen_ty_1<T>
impl<T> Send for Result__bindgen_ty_1<T>where
T: Send,
impl<T> !Sync for Result__bindgen_ty_1<T>
impl<T> Unpin for Result__bindgen_ty_1<T>where
T: Unpin,
impl<T> UnwindSafe for Result__bindgen_ty_1<T>where
T: 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