those impls are easy..
All checks were successful
Rust/sat-rs/pipeline/head This commit looks good

This commit is contained in:
2023-09-21 18:59:00 +02:00
parent c51f903ef2
commit 175d995a0e
2 changed files with 70 additions and 1 deletions

View File

@ -64,7 +64,7 @@ impl PacketIdLookup for [PacketId] {
pub fn parse_buffer_for_ccsds_space_packets<E>(
buf: &mut [u8],
packet_id_lookup: &(impl PacketIdLookup + ?Sized),
tc_receiver: &mut impl ReceivesTcCore<Error = E>,
tc_receiver: &mut (impl ReceivesTcCore<Error = E> + ?Sized),
next_write_idx: &mut usize,
) -> Result<u32, E> {
*next_write_idx = 0;