Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cberkhoff committed Jan 10, 2025
1 parent 967fdca commit c7927c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ipa-core/src/helpers/transport/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ impl RouteParams<RouteId, QueryId, NoStep> for (RouteId, QueryId) {
}

#[derive(thiserror::Error, Debug)]
#[error("One or more peer shards rejected the breadcast: {failures:?}")]
#[error("One or more peer shards rejected the broadcast request: {failures:?}")]
pub struct BroadcastError<I: TransportIdentity, E: Debug> {
pub failures: Vec<(I, E)>,
}
Expand All @@ -325,7 +325,9 @@ impl<I: TransportIdentity, E: Debug> From<Vec<(I, E)>> for BroadcastError<I, E>
#[async_trait]
pub trait Transport: Clone + Send + Sync + 'static {
type Identity: TransportIdentity;
/// They type used by [`receive`].
type RecordsStream: BytesStream;
/// The type used for responses to [`send`] and [`broadcast`].
type SendResponse: BytesStream;
type Error: Debug + Send;

Expand Down

0 comments on commit c7927c6

Please sign in to comment.