Trait satrs_core::tmtc::ReceivesTcCore
source · pub trait ReceivesTcCore {
type Error;
// Required method
fn pass_tc(&mut self, tc_raw: &[u8]) -> Result<(), Self::Error>;
}
Expand description
Generic trait for object which can receive any telecommands in form of a raw bytestream, with no assumptions about the received protocol.
This trait is implemented by both the crate::tmtc::pus_distrib::PusDistributor and the crate::tmtc::ccsds_distrib::CcsdsDistributor which allows to pass the respective packets in raw byte format into them.
Required Associated Types§
Required Methods§
Implementors§
source§impl<E: 'static> ReceivesTcCore for UdpTcServer<E>
Available on crate feature std
only.
impl<E: 'static> ReceivesTcCore for UdpTcServer<E>
Available on crate feature
std
only.