some minor adaptions

This commit is contained in:
Robin Müller 2022-10-26 00:29:11 +02:00
parent 4b5b11486e
commit 294ae2cf52
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,4 @@
//! # Hardware Abstraction Layer module //! # Hardware Abstraction Layer module
#[cfg(feature = "std")] #[cfg(feature = "std")]
#[cfg_attr(doc_cfg, doc(cfg(feature = "std")))]
pub mod host; pub mod host;

View File

@ -32,8 +32,9 @@ impl<E> From<ByteConversionError> for EcssTmError<E> {
} }
} }
/// Generic trait for a user supplied sender object. This sender object is responsible for sending /// Generic trait for a user supplied sender object.
/// telemetry to a TM sink. The [Downcast] trait ///
/// This sender object is responsible for sending telemetry to a TM sink. The [Downcast] trait
/// is implemented to allow passing the sender as a boxed trait object and still retrieve the /// is implemented to allow passing the sender as a boxed trait object and still retrieve the
/// concrete type at a later point. /// concrete type at a later point.
pub trait EcssTmSender<E>: Downcast + Send { pub trait EcssTmSender<E>: Downcast + Send {