#[non_exhaustive]pub enum StreamBinding {
Default,
Borrowed(BorrowedStream),
}Expand description
The stream bound to a cuSOLVER handle.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Default
The CUDA default stream.
Borrowed(BorrowedStream)
A borrowed stream associated with the same CUDA context.
Trait Implementations§
Source§impl Clone for StreamBinding
impl Clone for StreamBinding
Source§fn clone(&self) -> StreamBinding
fn clone(&self) -> StreamBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Send for StreamBinding
impl !Sync for StreamBinding
impl Freeze for StreamBinding
impl RefUnwindSafe for StreamBinding
impl Unpin for StreamBinding
impl UnsafeUnpin for StreamBinding
impl UnwindSafe for StreamBinding
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