Skip to content

Commit 81a3f5f

Browse files
committed
Added comments to fields of DownlinkConfig.
1 parent 7c8f73e commit 81a3f5f

File tree

2 files changed

+4
-118
lines changed
  • api

2 files changed

+4
-118
lines changed

api/swimos_api/src/downlink/mod.rs

Lines changed: 0 additions & 118 deletions
This file was deleted.

api/swimos_client_api/src/downlink/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,12 @@ use swimos_utilities::{
2525
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
2626
/// General downlink configuration parameters.
2727
pub struct DownlinkConfig {
28+
/// If this is set, lifecycle events will be called for events before the downlink is synchronized with the remote lane.
29+
/// (default: false).
2830
pub events_when_not_synced: bool,
31+
/// If this is set, the downlink will stop if it enters the unlinked state (default: true).
2932
pub terminate_on_unlinked: bool,
33+
/// The size of the channel to send commands to the downlinks.
3034
pub buffer_size: NonZeroUsize,
3135
}
3236

0 commit comments

Comments
 (0)