Struct pyo3_async::GilUnbound
source · #[repr(transparent)]pub struct GilUnbound<T>(pub T);
Expand description
Tuple Fields§
§0: T
Trait Implementations§
source§impl<T: Debug> Debug for GilUnbound<T>
impl<T: Debug> Debug for GilUnbound<T>
source§impl<F, T, E> PyFuture for GilUnbound<F>where
F: Future<Output = Result<T, E>> + Send,
T: IntoPy<PyObject> + Send,
E: Send,
PyErr: From<E>,
impl<F, T, E> PyFuture for GilUnbound<F>where F: Future<Output = Result<T, E>> + Send, T: IntoPy<PyObject> + Send, E: Send, PyErr: From<E>,
source§impl<S, T, E> PyStream for GilUnbound<S>where
S: Stream<Item = Result<T, E>> + Send,
T: IntoPy<PyObject> + Send,
E: Send,
PyErr: From<E>,
impl<S, T, E> PyStream for GilUnbound<S>where S: Stream<Item = Result<T, E>> + Send, T: IntoPy<PyObject> + Send, E: Send, PyErr: From<E>,
impl<'pin, T> Unpin for GilUnbound<T>where __GilUnbound<'pin, T>: Unpin,
Auto Trait Implementations§
impl<T> RefUnwindSafe for GilUnbound<T>where T: RefUnwindSafe,
impl<T> Send for GilUnbound<T>where T: Send,
impl<T> Sync for GilUnbound<T>where T: Sync,
impl<T> UnwindSafe for GilUnbound<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