pub trait TopEncodeMultiOutput {
// Required method
fn push_single_value<T, H>(
&mut self,
arg: &T,
h: H,
) -> Result<(), H::HandledErr>
where T: TopEncode,
H: EncodeErrorHandler;
// Provided method
fn push_multi_specialized<T, H>(
&mut self,
_arg: &T,
h: H,
) -> Result<(), H::HandledErr>
where T: TryStaticCast,
H: EncodeErrorHandler { ... }
}
Required Methods§
fn push_single_value<T, H>(
&mut self,
arg: &T,
h: H,
) -> Result<(), H::HandledErr>where
T: TopEncode,
H: EncodeErrorHandler,
Provided Methods§
Sourcefn push_multi_specialized<T, H>(
&mut self,
_arg: &T,
h: H,
) -> Result<(), H::HandledErr>where
T: TryStaticCast,
H: EncodeErrorHandler,
fn push_multi_specialized<T, H>(
&mut self,
_arg: &T,
h: H,
) -> Result<(), H::HandledErr>where
T: TryStaticCast,
H: EncodeErrorHandler,
This is temporary, will remove after we get rid of SCResult for good.
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.