do not refer legacy object
Some checks are pending
Rust/sat-rs/pipeline/pr-main Build started...

This commit is contained in:
Robin Müller 2023-08-28 19:07:01 +02:00
parent 2c1918d059
commit eae9ae96a1
Signed by: muellerr
GPG Key ID: FCE0B2BD2195142F

View File

@ -9,8 +9,9 @@
//! [ReceivesTcCore] trait which allows to pass raw packets, CCSDS packets and PUS TC packets into //! [ReceivesTcCore] trait which allows to pass raw packets, CCSDS packets and PUS TC packets into
//! it. Upon receiving a packet, it performs the following steps: //! it. Upon receiving a packet, it performs the following steps:
//! //!
//! 1. It tries to extract the [SpHeader] and [spacepackets::ecss::tc::PusTc] objects from the raw //! 1. It tries to extract the [SpHeader] and [spacepackets::ecss::tc::PusTcReader] objects from
//! bytestream. If this process fails, a [PusDistribError::PusError] is returned to the user. //! the raw bytestream. If this process fails, a [PusDistribError::PusError] is returned to the
//! user.
//! 2. If it was possible to extract both components, the packet will be passed to the //! 2. If it was possible to extract both components, the packet will be passed to the
//! [PusServiceProvider::handle_pus_tc_packet] method provided by the user. //! [PusServiceProvider::handle_pus_tc_packet] method provided by the user.
//! //!