Trait libdata::column::EndpointType
[−]
pub trait EndpointType where
Self: Clone + Debug + for<'de> Deserialize<'de> + Ord + Serialize + Sized + 'static, {
fn name() -> String;
}A trait to implement endpoint types.
The endpoint types for type I are simply Local<I> and
Remote<I>. But as these wrappers and the Type are
in this crate, it is not possible to implement the Type trait directly by another crate.
This works around for that problem, by implementing the Type trait for both wrappers for I: EndpointType.
Required Methods
fn name() -> String
The name of the bare tag.
The tag will be prepended with "local-" and "remote-" respectively for the wrappers.