Skip to main content

SplitRole

Trait SplitRole 

Source
pub trait SplitRole {
    const ROLE: &'static str;
}
Expand description

A split role. Implemented only by the four zero-sized marker types below.

Required Associated Constants§

Source

const ROLE: &'static str

The role name as it appears in a row’s source_split, in error messages, and in fingerprint absorption.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl SplitRole for CompatibilityTest

Source§

const ROLE: &'static str = "compatibility_test"

Source§

impl SplitRole for Test

Source§

const ROLE: &'static str = "test"

Source§

impl SplitRole for Train

Source§

const ROLE: &'static str = "train"

Source§

impl SplitRole for Validation

Source§

const ROLE: &'static str = "validation"