pub enum OutputBinding {
Allocate {
name: String,
device: Device,
},
PreallocatedCpu(PreallocatedOutput),
}Expand description
Explicit output destination for an I/O-bound run.
Variants§
Allocate
Ask the backend to allocate this output on the named device.
PreallocatedCpu(PreallocatedOutput)
Write into this caller-owned CPU allocation.
Trait Implementations§
Source§impl Clone for OutputBinding
impl Clone for OutputBinding
Source§fn clone(&self) -> OutputBinding
fn clone(&self) -> OutputBinding
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 moreSource§impl Debug for OutputBinding
impl Debug for OutputBinding
Source§impl PartialEq for OutputBinding
impl PartialEq for OutputBinding
Source§fn eq(&self, other: &OutputBinding) -> bool
fn eq(&self, other: &OutputBinding) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OutputBinding
impl StructuralPartialEq for OutputBinding
Auto Trait Implementations§
impl Freeze for OutputBinding
impl RefUnwindSafe for OutputBinding
impl Send for OutputBinding
impl Sync for OutputBinding
impl Unpin for OutputBinding
impl UnsafeUnpin for OutputBinding
impl UnwindSafe for OutputBinding
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