v0.3.15-pre.007-fix.001
This commit is contained in:
@@ -26,13 +26,7 @@ impl crate::RawIngestRouteId {
|
||||
/// Returns all V1 route identifiers in stable UI order.
|
||||
#[must_use]
|
||||
pub(crate) fn all() -> std::vec::Vec<Self> {
|
||||
return vec![
|
||||
Self::YellowstoneHydrated,
|
||||
Self::StandardLogsHydrated,
|
||||
Self::StandardBlockDirect,
|
||||
Self::HeliusTransactionHydrated,
|
||||
Self::HttpBlockPolling,
|
||||
];
|
||||
return vec![Self::YellowstoneHydrated, Self::StandardLogsHydrated, Self::StandardBlockDirect, Self::HeliusTransactionHydrated, Self::HttpBlockPolling];
|
||||
}
|
||||
|
||||
/// Returns the application-owned route family used by safe UI projections.
|
||||
@@ -263,11 +257,7 @@ impl crate::RawIngestRouteDto {
|
||||
|
||||
/// Builds one route that is not composable from the current Config profile.
|
||||
#[must_use]
|
||||
pub(crate) fn unavailable(
|
||||
route_id: crate::RawIngestRouteId,
|
||||
network: std::option::Option<&str>,
|
||||
reason: crate::RawIngestRouteUnavailableReason,
|
||||
) -> Self {
|
||||
pub(crate) fn unavailable(route_id: crate::RawIngestRouteId, network: std::option::Option<&str>, reason: crate::RawIngestRouteUnavailableReason) -> Self {
|
||||
return Self {
|
||||
family: route_id.family(),
|
||||
label: route_id.label().to_owned(),
|
||||
|
||||
Reference in New Issue
Block a user