some renaming
Some checks failed
Rust/cfdp/pipeline/head There was a failure building this commit

This commit is contained in:
2024-09-05 14:46:06 +02:00
parent 0766a0e6c9
commit 80c91b59d3

View File

@@ -278,16 +278,16 @@ impl<
UserFaultHook: UserFaultHookProvider, UserFaultHook: UserFaultHookProvider,
Vfs: VirtualFilestore, Vfs: VirtualFilestore,
RemoteCfgTable: RemoteEntityConfigProvider, RemoteCfgTable: RemoteEntityConfigProvider,
CheckTimerCreator: TimerCreatorProvider<Countdown = CheckTimerProvider>, TimerCreator: TimerCreatorProvider<Countdown = Countdown>,
CheckTimerProvider: CountdownProvider, Countdown: CountdownProvider,
> >
DestinationHandler< DestinationHandler<
PduSender, PduSender,
UserFaultHook, UserFaultHook,
Vfs, Vfs,
RemoteCfgTable, RemoteCfgTable,
CheckTimerCreator, TimerCreator,
CheckTimerProvider, Countdown,
> >
{ {
/// Constructs a new destination handler. /// Constructs a new destination handler.
@@ -306,7 +306,7 @@ impl<
/// for embedded systems where a standard runtime might not be available. /// for embedded systems where a standard runtime might not be available.
/// * `remote_cfg_table` - The [RemoteEntityConfigProvider] used to look up remote /// * `remote_cfg_table` - The [RemoteEntityConfigProvider] used to look up remote
/// entities and target specific configuration for file copy operations. /// entities and target specific configuration for file copy operations.
/// * `check_timer_creator` - [CheckTimerProviderCreator] used by the CFDP handler to generate /// * `check_timer_creator` - [TimerCreatorProvider] used by the CFDP handler to generate
/// timers required by various tasks. This allows to use this handler for embedded systems /// timers required by various tasks. This allows to use this handler for embedded systems
/// where the standard time APIs might not be available. /// where the standard time APIs might not be available.
pub fn new( pub fn new(
@@ -315,7 +315,7 @@ impl<
pdu_sender: PduSender, pdu_sender: PduSender,
vfs: Vfs, vfs: Vfs,
remote_cfg_table: RemoteCfgTable, remote_cfg_table: RemoteCfgTable,
check_timer_creator: CheckTimerCreator, check_timer_creator: TimerCreator,
) -> Self { ) -> Self {
Self { Self {
local_cfg, local_cfg,
@@ -914,11 +914,11 @@ impl<
&self.local_cfg &self.local_cfg
} }
fn tstate(&self) -> &TransferState<CheckTimerProvider> { fn tstate(&self) -> &TransferState<Countdown> {
&self.tparams.tstate &self.tparams.tstate
} }
fn tstate_mut(&mut self) -> &mut TransferState<CheckTimerProvider> { fn tstate_mut(&mut self) -> &mut TransferState<Countdown> {
&mut self.tparams.tstate &mut self.tparams.tstate
} }
} }