Docs.rs
dag-flow-0.1.0
dag-flow 0.1.0
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
makisevon
Dependencies
dynosaur ^0.3
normal
futures ^0.3
normal
thiserror ^2
normal
trait-variant ^0.1
normal
futures-timer ^3
dev
Versions
0%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
dag_
flow
0.1.0
DynTask
Methods
from_box
from_mut
from_ref
new_arc
new_box
new_rc
Trait Implementations
Task<I, D>
Auto Trait Implementations
!Freeze
!RefUnwindSafe
!Sized
!Unpin
!UnwindSafe
Send
Sync
Blanket Implementations
Any
Borrow<T>
BorrowMut<T>
In dag_
flow::
task
dag_flow
::
task
Struct
DynTask
Copy item path
Source
pub struct DynTask<'dynosaur_struct, I, D> {
/* private fields */
}
Implementations
§
Source
§
impl<'dynosaur_struct, I, D>
DynTask
<'dynosaur_struct, I, D>
Source
pub fn
new_box
( value: impl
Task
<I, D> + 'dynosaur_struct, ) ->
Box
<
DynTask
<'dynosaur_struct, I, D>>
Source
pub fn
new_arc
( value: impl
Task
<I, D> + 'dynosaur_struct, ) ->
Arc
<
DynTask
<'dynosaur_struct, I, D>>
Source
pub fn
new_rc
( value: impl
Task
<I, D> + 'dynosaur_struct, ) ->
Rc
<
DynTask
<'dynosaur_struct, I, D>>
Source
pub const fn
from_box
( value:
Box
<impl
Task
<I, D> + 'dynosaur_struct>, ) ->
Box
<
DynTask
<'dynosaur_struct, I, D>>
Source
pub const fn
from_ref
( value: &(impl
Task
<I, D> + 'dynosaur_struct), ) -> &
DynTask
<'dynosaur_struct, I, D>
Source
pub const fn
from_mut
( value: &mut (impl
Task
<I, D> + 'dynosaur_struct), ) -> &mut
DynTask
<'dynosaur_struct, I, D>
Trait Implementations
§
Source
§
impl<'dynosaur_struct, I, D>
Task
<I, D> for
DynTask
<'dynosaur_struct, I, D>
Source
§
fn
id
(&self) ->
&I
Source
§
fn
dependencies
(&self) -> &
[I]
Source
§
fn
run
( &self, input:
Vec
<
Input
<'_, I, D>>, ) -> impl
Future
<Output =
Option
<D>> +
Send
+
Sync
Auto Trait Implementations
§
§
impl<'dynosaur_struct, I, D> !
Freeze
for
DynTask
<'dynosaur_struct, I, D>
§
impl<'dynosaur_struct, I, D> !
RefUnwindSafe
for
DynTask
<'dynosaur_struct, I, D>
§
impl<'dynosaur_struct, I, D>
Send
for
DynTask
<'dynosaur_struct, I, D>
§
impl<'dynosaur_struct, I, D> !
Sized
for
DynTask
<'dynosaur_struct, I, D>
§
impl<'dynosaur_struct, I, D>
Sync
for
DynTask
<'dynosaur_struct, I, D>
§
impl<'dynosaur_struct, I, D> !
Unpin
for
DynTask
<'dynosaur_struct, I, D>
§
impl<'dynosaur_struct, I, D> !
UnwindSafe
for
DynTask
<'dynosaur_struct, I, D>
Blanket Implementations
§
Source
§
impl<T>
Any
for T
where T: 'static + ?
Sized
,
Source
§
fn
type_id
(&self) ->
TypeId
Gets the
TypeId
of
self
.
Read more
Source
§
impl<T>
Borrow
<T> for T
where T: ?
Sized
,
Source
§
fn
borrow
(&self) ->
&T
Immutably borrows from an owned value.
Read more
Source
§
impl<T>
BorrowMut
<T> for T
where T: ?
Sized
,
Source
§
fn
borrow_mut
(&mut self) ->
&mut T
Mutably borrows from an owned value.
Read more