some more doc fixes
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good
This commit is contained in:
parent
416b5c1805
commit
368331cc60
@ -206,7 +206,7 @@ pub trait TimeReader {
|
|||||||
|
|
||||||
/// Trait for generic CCSDS time providers.
|
/// Trait for generic CCSDS time providers.
|
||||||
///
|
///
|
||||||
/// The UNIX helper methods and the [date_time] method are not strictly necessary but extremely
|
/// The UNIX helper methods and the [Self::date_time] method are not strictly necessary but extremely
|
||||||
/// practical because they are a very common and simple exchange format for time information.
|
/// practical because they are a very common and simple exchange format for time information.
|
||||||
pub trait CcsdsTimeProvider {
|
pub trait CcsdsTimeProvider {
|
||||||
fn len_as_bytes(&self) -> usize;
|
fn len_as_bytes(&self) -> usize;
|
||||||
|
@ -123,7 +123,7 @@ impl<'stamp> PusTmSecondaryHeader<'stamp> {
|
|||||||
Self::new(service, subservice, 0, 0, Some(timestamp))
|
Self::new(service, subservice, 0, 0, Some(timestamp))
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Like [new_simple] but without a timestamp.
|
/// Like [Self::new_simple] but without a timestamp.
|
||||||
pub fn new_simple_no_timestamp(service: u8, subservice: u8) -> Self {
|
pub fn new_simple_no_timestamp(service: u8, subservice: u8) -> Self {
|
||||||
Self::new(service, subservice, 0, 0, None)
|
Self::new(service, subservice, 0, 0, None)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user