Skip to main content

BatchRef

Type Alias BatchRef 

Source
pub type BatchRef = ServiceRef<dyn DynBatch>;
Expand description

Shared reference to a batch service.

Aliased Type§

pub struct BatchRef(/* private fields */);

Trait Implementations§

Source§

impl<T: Batch> From<Arc<T>> for BatchRef

Source§

fn from(model: Arc<T>) -> Self

Converts to this type from the input type.
Source§

impl<T: Batch> From<T> for BatchRef

Source§

fn from(model: T) -> Self

Converts to this type from the input type.