pub trait GestaltOutput<T>: Clone {
type Me<A>;
// Required methods
fn map<B, F>(&self, f: F) -> Self::Me<B>
where F: Fn(T) -> B + Send + 'static,
T: DeserializeOwned,
B: Serialize;
fn add_to_export(&self, key: &str);
fn combine<RESULT>(&self, others: &[&Self::Me<()>]) -> Self::Me<RESULT>;
unsafe fn transmute<F>(self) -> Self::Me<F>;
}
Required Associated Types§
Required Methods§
fn map<B, F>(&self, f: F) -> Self::Me<B>
fn add_to_export(&self, key: &str)
fn combine<RESULT>(&self, others: &[&Self::Me<()>]) -> Self::Me<RESULT>
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.