pub trait TmPacketSourceCore {
    type Error;

    // Required method
    fn retrieve_packet(
        &mut self,
        buffer: &mut [u8]
    ) -> Result<usize, Self::Error>;
}
Expand description

Generic trait for a TM packet source, with no restrictions on the type of TM. Implementors write the telemetry into the provided buffer and return the size of the telemetry.

Required Associated Types§

Required Methods§

source

fn retrieve_packet(&mut self, buffer: &mut [u8]) -> Result<usize, Self::Error>

Implementors§