Trait FromTaskInput

Source
pub trait FromTaskInput: Sealed {
    type TaskInput: TaskInput;

    // Required method
    fn from_task_input(from: Self::TaskInput) -> Self;
}

Required Associated Types§

Required Methods§

Source

fn from_task_input(from: Self::TaskInput) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T> FromTaskInput for Option<T>
where T: FromTaskInput,

Source§

impl<T> FromTaskInput for Vec<T>
where T: FromTaskInput,

Implementors§

Source§

impl<T> FromTaskInput for ResolvedVc<T>
where T: Send + Sync + ?Sized,