pub trait MessageReader {
Show 36 methods
fn read_deco_attachment(&mut self, header: u8) -> Option<Attachment>;
fn read_deco_priority(&mut self, header: u8) -> Option<Priority>;
fn read_transport_message(&mut self) -> Option<TransportMessage>;
fn read_frame(
&mut self,
header: u8,
priority: Priority
) -> Option<TransportBody>;
fn read_scout(&mut self, header: u8) -> Option<TransportBody>;
fn read_hello(&mut self, header: u8) -> Option<TransportBody>;
fn read_init_syn(&mut self, header: u8) -> Option<TransportBody>;
fn read_init_ack(&mut self, header: u8) -> Option<TransportBody>;
fn read_open_syn(&mut self, header: u8) -> Option<TransportBody>;
fn read_open_ack(&mut self, header: u8) -> Option<TransportBody>;
fn read_join(&mut self, header: u8) -> Option<TransportBody>;
fn read_close(&mut self, header: u8) -> Option<TransportBody>;
fn read_sync(&mut self, header: u8) -> Option<TransportBody>;
fn read_ack_nack(&mut self, header: u8) -> Option<TransportBody>;
fn read_keep_alive(&mut self, header: u8) -> Option<TransportBody>;
fn read_ping(&mut self, _header: u8) -> Option<TransportBody>;
fn read_pong(&mut self, _header: u8) -> Option<TransportBody>;
fn read_deco_routing_context(
&mut self,
_header: u8
) -> Option<RoutingContext>;
fn read_deco_reply_context(&mut self, header: u8) -> Option<ReplyContext>;
fn read_zenoh_message(
&mut self,
reliability: Reliability
) -> Option<ZenohMessage>;
fn read_data(
&mut self,
header: u8,
reply_context: Option<ReplyContext>
) -> Option<ZenohBody>;
fn read_key_expr(&mut self, has_suffix: bool) -> Option<WireExpr<'static>>;
fn read_data_info(&mut self) -> Option<DataInfo>;
fn read_queryable_info(&mut self) -> Option<QueryableInfo>;
fn read_unit(
&mut self,
header: u8,
reply_context: Option<ReplyContext>
) -> Option<ZenohBody>;
fn read_pull(&mut self, header: u8) -> Option<ZenohBody>;
fn read_declare(&mut self, _header: u8) -> Option<ZenohBody>;
fn read_declarations(&mut self) -> Option<Vec<Declaration>>;
fn read_declaration(&mut self) -> Option<Declaration>;
fn read_query(&mut self, header: u8) -> Option<ZenohBody>;
fn read_link_state_list(&mut self, _header: u8) -> Option<ZenohBody>;
fn read_link_state(&mut self) -> Option<LinkState>;
fn read_submode(&mut self) -> Option<SubMode>;
fn read_query_target(&mut self) -> Option<QueryTarget>;
fn read_consolidation_mode(mode: ZInt) -> Option<ConsolidationMode>;
fn read_consolidation(&mut self) -> Option<ConsolidationMode>;
}