pub struct HipStream {
pub handle: *mut c_void,
pub id: u32,
pub priority: i32,
pub flags: HipStreamFlags,
pub created_at: Instant,
pub operations: VecDeque<HipOperation>,
}Expand description
HIP stream for asynchronous operations
Fields§
§handle: *mut c_voidStream handle (simulated)
id: u32Stream ID
priority: i32Stream priority
flags: HipStreamFlagsStream flags
created_at: InstantCreation time
operations: VecDeque<HipOperation>Operations queue
Auto Trait Implementations§
impl Freeze for HipStream
impl RefUnwindSafe for HipStream
impl !Send for HipStream
impl !Sync for HipStream
impl Unpin for HipStream
impl UnsafeUnpin for HipStream
impl UnwindSafe for HipStream
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more