hara_native/lang/protocol/
iencode.rs1use hara_protocol_macros::hara_protocol;
2
3#[hara_protocol(namespace = "std.protocol.iencode", name = "IEncode")]
4pub trait IEncode<O> {
5 type Output;
6
7 #[hara_method(value = "encode", arity = 2)]
8 fn encode(&self, options: O) -> Self::Output;
9}