hara_native/lang/protocol/
ipeekfirst.rs1use hara_protocol_macros::hara_protocol;
2
3#[hara_protocol(namespace = "std.protocol.ipeekfirst", name = "IPeekFirst")]
4pub trait IPeekFirst<E> {
5 #[hara_method(value = "peek-first", arity = 1)]
6 fn peek_first(&self) -> Option<E>;
7}