radroots_transport.txt (91849B)
1 pub mod radroots_transport 2 pub mod radroots_transport::capability 3 pub enum radroots_transport::capability::Availability 4 pub radroots_transport::capability::Availability::Available 5 pub radroots_transport::capability::Availability::Degraded 6 pub radroots_transport::capability::Availability::Unavailable 7 impl core::convert::From<radroots_protocol::capability::v1::Availability> for radroots_transport::capability::Availability 8 pub fn radroots_transport::capability::Availability::from(radroots_protocol::capability::v1::Availability) -> Self 9 impl core::convert::From<radroots_transport::capability::Availability> for radroots_protocol::capability::v1::Availability 10 pub fn radroots_protocol::capability::v1::Availability::from(radroots_transport::capability::Availability) -> Self 11 pub enum radroots_transport::capability::Maturity 12 pub radroots_transport::capability::Maturity::Experimental 13 pub radroots_transport::capability::Maturity::Preview 14 pub radroots_transport::capability::Maturity::Stable 15 impl core::convert::From<radroots_protocol::capability::v1::Maturity> for radroots_transport::capability::Maturity 16 pub fn radroots_transport::capability::Maturity::from(radroots_protocol::capability::v1::Maturity) -> Self 17 impl core::convert::From<radroots_transport::capability::Maturity> for radroots_protocol::capability::v1::Maturity 18 pub fn radroots_protocol::capability::v1::Maturity::from(radroots_transport::capability::Maturity) -> Self 19 pub struct radroots_transport::capability::SinkCapabilities 20 impl radroots_transport::capability::SinkCapabilities 21 pub const radroots_transport::capability::SinkCapabilities::DELIVER: Self 22 pub const radroots_transport::capability::SinkCapabilities::NONE: Self 23 pub const fn radroots_transport::capability::SinkCapabilities::can_deliver(self) -> bool 24 pub const fn radroots_transport::capability::SinkCapabilities::can_gateway_forward(self) -> bool 25 pub const fn radroots_transport::capability::SinkCapabilities::can_observe_receipts(self) -> bool 26 pub const fn radroots_transport::capability::SinkCapabilities::with_gateway_forwarding(self, bool) -> Self 27 pub const fn radroots_transport::capability::SinkCapabilities::with_receipt_observation(self, bool) -> Self 28 impl core::convert::From<&radroots_protocol::capability::v1::TransportDescriptor> for radroots_transport::capability::SinkCapabilities 29 pub fn radroots_transport::capability::SinkCapabilities::from(&radroots_protocol::capability::v1::TransportDescriptor) -> Self 30 pub struct radroots_transport::capability::SourceCapabilities 31 impl radroots_transport::capability::SourceCapabilities 32 pub const radroots_transport::capability::SourceCapabilities::FETCH: Self 33 pub const radroots_transport::capability::SourceCapabilities::NONE: Self 34 pub const fn radroots_transport::capability::SourceCapabilities::can_discover(self) -> bool 35 pub const fn radroots_transport::capability::SourceCapabilities::can_fetch(self) -> bool 36 pub const fn radroots_transport::capability::SourceCapabilities::with_discovery(self, bool) -> Self 37 impl core::convert::From<&radroots_protocol::capability::v1::TransportDescriptor> for radroots_transport::capability::SourceCapabilities 38 pub fn radroots_transport::capability::SourceCapabilities::from(&radroots_protocol::capability::v1::TransportDescriptor) -> Self 39 pub mod radroots_transport::endpoint 40 pub struct radroots_transport::endpoint::EndpointUri(_) 41 impl radroots_transport::target::EndpointUri 42 pub fn radroots_transport::target::EndpointUri::as_str(&self) -> &str 43 pub fn radroots_transport::target::EndpointUri::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_transport::error::Error> 44 impl core::convert::AsRef<str> for radroots_transport::target::EndpointUri 45 pub fn radroots_transport::target::EndpointUri::as_ref(&self) -> &str 46 impl core::convert::TryFrom<&str> for radroots_transport::target::EndpointUri 47 pub type radroots_transport::target::EndpointUri::Error = radroots_transport::error::Error 48 pub fn radroots_transport::target::EndpointUri::try_from(&str) -> core::result::Result<Self, Self::Error> 49 impl core::fmt::Display for radroots_transport::target::EndpointUri 50 pub fn radroots_transport::target::EndpointUri::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 51 impl core::str::traits::FromStr for radroots_transport::target::EndpointUri 52 pub type radroots_transport::target::EndpointUri::Err = radroots_transport::error::Error 53 pub fn radroots_transport::target::EndpointUri::from_str(&str) -> core::result::Result<Self, Self::Err> 54 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::target::EndpointUri 55 pub fn radroots_transport::target::EndpointUri::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 56 pub struct radroots_transport::endpoint::TargetLabel(_) 57 impl radroots_transport::target::TargetLabel 58 pub fn radroots_transport::target::TargetLabel::as_str(&self) -> &str 59 pub fn radroots_transport::target::TargetLabel::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_transport::error::Error> 60 impl core::convert::AsRef<str> for radroots_transport::target::TargetLabel 61 pub fn radroots_transport::target::TargetLabel::as_ref(&self) -> &str 62 impl core::convert::TryFrom<&str> for radroots_transport::target::TargetLabel 63 pub type radroots_transport::target::TargetLabel::Error = radroots_transport::error::Error 64 pub fn radroots_transport::target::TargetLabel::try_from(&str) -> core::result::Result<Self, Self::Error> 65 impl core::fmt::Display for radroots_transport::target::TargetLabel 66 pub fn radroots_transport::target::TargetLabel::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 67 impl core::str::traits::FromStr for radroots_transport::target::TargetLabel 68 pub type radroots_transport::target::TargetLabel::Err = radroots_transport::error::Error 69 pub fn radroots_transport::target::TargetLabel::from_str(&str) -> core::result::Result<Self, Self::Err> 70 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::target::TargetLabel 71 pub fn radroots_transport::target::TargetLabel::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 72 pub struct radroots_transport::endpoint::TargetScope(_) 73 impl radroots_transport::target::TargetScope 74 pub fn radroots_transport::target::TargetScope::as_str(&self) -> &str 75 pub fn radroots_transport::target::TargetScope::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_transport::error::Error> 76 impl core::convert::AsRef<str> for radroots_transport::target::TargetScope 77 pub fn radroots_transport::target::TargetScope::as_ref(&self) -> &str 78 impl core::convert::TryFrom<&str> for radroots_transport::target::TargetScope 79 pub type radroots_transport::target::TargetScope::Error = radroots_transport::error::Error 80 pub fn radroots_transport::target::TargetScope::try_from(&str) -> core::result::Result<Self, Self::Error> 81 impl core::fmt::Display for radroots_transport::target::TargetScope 82 pub fn radroots_transport::target::TargetScope::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 83 impl core::str::traits::FromStr for radroots_transport::target::TargetScope 84 pub type radroots_transport::target::TargetScope::Err = radroots_transport::error::Error 85 pub fn radroots_transport::target::TargetScope::from_str(&str) -> core::result::Result<Self, Self::Err> 86 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::target::TargetScope 87 pub fn radroots_transport::target::TargetScope::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 88 pub const radroots_transport::endpoint::ENDPOINT_URI_MAX_BYTES: usize 89 pub const radroots_transport::endpoint::TARGET_LABEL_MAX_BYTES: usize 90 pub const radroots_transport::endpoint::TARGET_SCOPE_MAX_BYTES: usize 91 pub mod radroots_transport::error 92 pub enum radroots_transport::error::Error 93 pub radroots_transport::error::Error::DeliveryReceiptPayloadMismatch 94 pub radroots_transport::error::Error::DeliveryReceiptRequestIdMismatch 95 pub radroots_transport::error::Error::DeliveryReceiptTargetSetMismatch 96 pub radroots_transport::error::Error::DeliveryTargetReceiptAttemptMismatch 97 pub radroots_transport::error::Error::DeliveryTargetReceiptStatusMismatch 98 pub radroots_transport::error::Error::DuplicateDeliveryTargetReceipt 99 pub radroots_transport::error::Error::DuplicateFetchAuthor 100 pub radroots_transport::error::Error::DuplicateFetchKind 101 pub radroots_transport::error::Error::DuplicateFetchTagValue 102 pub radroots_transport::error::Error::DuplicateFetchTargetOutcome 103 pub radroots_transport::error::Error::DuplicateRequiredTargetFingerprint 104 pub radroots_transport::error::Error::DuplicateSubscriptionCheckpoint 105 pub radroots_transport::error::Error::DuplicateTargetFingerprint 106 pub radroots_transport::error::Error::EmptyDeliveryRequestId 107 pub radroots_transport::error::Error::EmptyFetchCursor 108 pub radroots_transport::error::Error::EmptyFetchRequestId 109 pub radroots_transport::error::Error::EmptyPayloadBytes 110 pub radroots_transport::error::Error::EmptyPayloadId 111 pub radroots_transport::error::Error::EmptyPayloadLabel 112 pub radroots_transport::error::Error::EmptyRequiredTargetSet 113 pub radroots_transport::error::Error::EmptySubscriptionRequestId 114 pub radroots_transport::error::Error::EmptyTargetLabel 115 pub radroots_transport::error::Error::EmptyTargetScope 116 pub radroots_transport::error::Error::EmptyTargetSet 117 pub radroots_transport::error::Error::EmptyTargetUri 118 pub radroots_transport::error::Error::EmptyTransportKind 119 pub radroots_transport::error::Error::FetchPageLimitExceeded 120 pub radroots_transport::error::Error::FetchPageRequestMismatch 121 pub radroots_transport::error::Error::FetchSelectorTooLarge 122 pub radroots_transport::error::Error::InvalidDeliveryDeadline 123 pub radroots_transport::error::Error::InvalidDeliveryOutcome 124 pub radroots_transport::error::Error::InvalidDeliveryRequestId 125 pub radroots_transport::error::Error::InvalidDeliveryTargetSelection 126 pub radroots_transport::error::Error::InvalidDeliveryTimestamp 127 pub radroots_transport::error::Error::InvalidFetchCursor 128 pub radroots_transport::error::Error::InvalidFetchDeadline 129 pub radroots_transport::error::Error::InvalidFetchLimit 130 pub radroots_transport::error::Error::InvalidFetchRequestId 131 pub radroots_transport::error::Error::InvalidFetchTagKey 132 pub radroots_transport::error::Error::InvalidFetchTagValue 133 pub radroots_transport::error::Error::InvalidFetchTimeRange 134 pub radroots_transport::error::Error::InvalidObservedAt 135 pub radroots_transport::error::Error::InvalidPayloadBytes 136 pub radroots_transport::error::Error::InvalidPayloadDigest 137 pub radroots_transport::error::Error::InvalidPayloadId 138 pub radroots_transport::error::Error::InvalidPayloadLabel 139 pub radroots_transport::error::Error::InvalidSatisfactionPolicy 140 pub radroots_transport::error::Error::InvalidSubscriptionDeadline 141 pub radroots_transport::error::Error::InvalidSubscriptionEnd 142 pub radroots_transport::error::Error::InvalidSubscriptionLimit 143 pub radroots_transport::error::Error::InvalidSubscriptionRequestId 144 pub radroots_transport::error::Error::InvalidTargetFingerprint 145 pub radroots_transport::error::Error::InvalidTargetLabel 146 pub radroots_transport::error::Error::InvalidTargetScope 147 pub radroots_transport::error::Error::InvalidTargetUri 148 pub radroots_transport::error::Error::InvalidTransportKind 149 pub radroots_transport::error::Error::MissingDeliveryTargetReceipt 150 pub radroots_transport::error::Error::PayloadDigestMismatch 151 pub radroots_transport::error::Error::RequiredTargetNotRequested 152 pub radroots_transport::error::Error::SubscriptionCheckpointSetTooLarge 153 pub radroots_transport::error::Error::SubscriptionEndLimitExceeded 154 pub radroots_transport::error::Error::SubscriptionEndRequestMismatch 155 pub radroots_transport::error::Error::SubscriptionEventCheckpointMismatch 156 pub radroots_transport::error::Error::SubscriptionUnavailable 157 pub radroots_transport::error::Error::TargetSetTooLarge 158 pub radroots_transport::error::Error::TransportClosed 159 pub radroots_transport::error::Error::TransportOutcomeStatusMismatch 160 pub radroots_transport::error::Error::TransportUnavailable 161 pub radroots_transport::error::Error::UnexpectedDeliveryTargetReceipt 162 pub radroots_transport::error::Error::UnexpectedFetchEvent 163 pub radroots_transport::error::Error::UnexpectedFetchProvenance 164 pub radroots_transport::error::Error::UnexpectedFetchTargetOutcome 165 pub radroots_transport::error::Error::UnexpectedSubscriptionCheckpoint 166 pub radroots_transport::error::Error::UnexpectedSubscriptionEvent 167 pub radroots_transport::error::Error::UnsupportedOperation 168 impl core::fmt::Display for radroots_transport::error::Error 169 pub fn radroots_transport::error::Error::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 170 pub mod radroots_transport::host 171 pub mod radroots_transport::host::websocket 172 #[non_exhaustive] pub enum radroots_transport::host::websocket::Error 173 pub radroots_transport::host::websocket::Error::Closed 174 pub radroots_transport::host::websocket::Error::Policy 175 pub radroots_transport::host::websocket::Error::Protocol 176 pub radroots_transport::host::websocket::Error::Timeout 177 pub radroots_transport::host::websocket::Error::Unavailable 178 pub radroots_transport::host::websocket::Error::Unsupported 179 impl core::error::Error for radroots_transport::host::websocket::Error 180 impl core::fmt::Display for radroots_transport::host::websocket::Error 181 pub fn radroots_transport::host::websocket::Error::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 182 #[non_exhaustive] pub enum radroots_transport::host::websocket::Frame 183 pub radroots_transport::host::websocket::Frame::Binary(alloc::vec::Vec<u8>) 184 pub radroots_transport::host::websocket::Frame::Close(core::option::Option<radroots_transport::host::websocket::CloseFrame>) 185 pub radroots_transport::host::websocket::Frame::Ping(alloc::vec::Vec<u8>) 186 pub radroots_transport::host::websocket::Frame::Pong(alloc::vec::Vec<u8>) 187 pub radroots_transport::host::websocket::Frame::Text(alloc::string::String) 188 impl core::fmt::Debug for radroots_transport::host::websocket::Frame 189 pub fn radroots_transport::host::websocket::Frame::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 190 pub struct radroots_transport::host::websocket::CloseFrame 191 pub radroots_transport::host::websocket::CloseFrame::code: u16 192 pub radroots_transport::host::websocket::CloseFrame::reason: alloc::string::String 193 impl core::fmt::Debug for radroots_transport::host::websocket::CloseFrame 194 pub fn radroots_transport::host::websocket::CloseFrame::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 195 pub trait radroots_transport::host::websocket::Admission: core::marker::Send + core::marker::Sync 196 pub fn radroots_transport::host::websocket::Admission::admitted_read(&self, &core::task::wake::Context<'_>) -> bool 197 pub fn radroots_transport::host::websocket::Admission::admitted_write(&self, &core::task::wake::Context<'_>) -> bool 198 pub fn radroots_transport::host::websocket::Admission::charge(&self, usize, usize, usize) -> bool 199 pub fn radroots_transport::host::websocket::Admission::permits_address(&self, core::net::ip_addr::IpAddr) -> bool 200 pub trait radroots_transport::host::websocket::Connector: core::fmt::Debug + core::marker::Send + core::marker::Sync 201 pub fn radroots_transport::host::websocket::Connector::connect<'a>(&'a self, &'a str, core::time::Duration, core::num::nonzero::NonZeroUsize, alloc::sync::Arc<dyn radroots_transport::host::websocket::Admission>) -> radroots_transport::host::websocket::IoFuture<'a, core::result::Result<alloc::sync::Arc<dyn radroots_transport::host::websocket::Socket>, radroots_transport::host::websocket::Error>> 202 pub fn radroots_transport::host::websocket::Connector::supports_ping(&self) -> bool 203 pub trait radroots_transport::host::websocket::Socket: core::marker::Send + core::marker::Sync 204 pub fn radroots_transport::host::websocket::Socket::close(&self) -> radroots_transport::host::websocket::IoFuture<'_, core::result::Result<(), radroots_transport::host::websocket::Error>> 205 pub fn radroots_transport::host::websocket::Socket::receive(&self) -> radroots_transport::host::websocket::IoFuture<'_, core::result::Result<core::option::Option<radroots_transport::host::websocket::Frame>, radroots_transport::host::websocket::Error>> 206 pub fn radroots_transport::host::websocket::Socket::send(&self, radroots_transport::host::websocket::Frame) -> radroots_transport::host::websocket::IoFuture<'_, core::result::Result<(), radroots_transport::host::websocket::Error>> 207 pub type radroots_transport::host::websocket::IoFuture<'a, T> = core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = T> + core::marker::Send + 'a)>> 208 pub trait radroots_transport::host::HostBound: core::marker::Send + core::marker::Sync 209 impl<T: core::marker::Send + core::marker::Sync + ?core::marker::Sized> radroots_transport::host::HostBound for T 210 pub trait radroots_transport::host::MoveBound: core::marker::Send 211 impl<T: core::marker::Send + ?core::marker::Sized> radroots_transport::host::MoveBound for T 212 pub type radroots_transport::host::Shared<T> = alloc::sync::Arc<T> 213 pub mod radroots_transport::outcome 214 pub enum radroots_transport::outcome::DeliveryOutcomeKind 215 pub radroots_transport::outcome::DeliveryOutcomeKind::Accepted 216 pub radroots_transport::outcome::DeliveryOutcomeKind::Delivered 217 pub radroots_transport::outcome::DeliveryOutcomeKind::Failed 218 pub radroots_transport::outcome::DeliveryOutcomeKind::Rejected 219 pub radroots_transport::outcome::DeliveryOutcomeKind::Unavailable 220 pub enum radroots_transport::outcome::FetchTargetState 221 pub radroots_transport::outcome::FetchTargetState::Cancelled 222 pub radroots_transport::outcome::FetchTargetState::Complete 223 pub radroots_transport::outcome::FetchTargetState::FailedRetryable 224 pub radroots_transport::outcome::FetchTargetState::FailedTerminal 225 pub radroots_transport::outcome::FetchTargetState::Partial 226 pub radroots_transport::outcome::FetchTargetState::Unavailable 227 impl radroots_transport::outcome::FetchTargetState 228 pub const fn radroots_transport::outcome::FetchTargetState::is_retryable(self) -> bool 229 pub const fn radroots_transport::outcome::FetchTargetState::is_terminal(self) -> bool 230 pub enum radroots_transport::outcome::Retryability 231 pub radroots_transport::outcome::Retryability::NotApplicable 232 pub radroots_transport::outcome::Retryability::Retryable 233 pub radroots_transport::outcome::Retryability::Terminal 234 pub struct radroots_transport::outcome::DeliveryOutcome 235 impl radroots_transport::outcome::DeliveryOutcome 236 pub const fn radroots_transport::outcome::DeliveryOutcome::accepted() -> Self 237 pub fn radroots_transport::outcome::DeliveryOutcome::code(&self) -> core::option::Option<&str> 238 pub const fn radroots_transport::outcome::DeliveryOutcome::delivered() -> Self 239 pub const fn radroots_transport::outcome::DeliveryOutcome::failed(radroots_transport::outcome::Retryability) -> core::result::Result<Self, radroots_transport::error::Error> 240 pub const fn radroots_transport::outcome::DeliveryOutcome::is_retryable(&self) -> bool 241 pub const fn radroots_transport::outcome::DeliveryOutcome::is_terminal(&self) -> bool 242 pub const fn radroots_transport::outcome::DeliveryOutcome::kind(&self) -> radroots_transport::outcome::DeliveryOutcomeKind 243 pub fn radroots_transport::outcome::DeliveryOutcome::message(&self) -> core::option::Option<&str> 244 pub const fn radroots_transport::outcome::DeliveryOutcome::rejected() -> Self 245 pub const fn radroots_transport::outcome::DeliveryOutcome::retryability(&self) -> radroots_transport::outcome::Retryability 246 pub const fn radroots_transport::outcome::DeliveryOutcome::satisfies(&self, radroots_transport::policy::SatisfactionClass) -> bool 247 pub const fn radroots_transport::outcome::DeliveryOutcome::unavailable() -> Self 248 pub fn radroots_transport::outcome::DeliveryOutcome::with_detail(self, impl core::convert::Into<alloc::string::String>, impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_transport::error::Error> 249 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::outcome::DeliveryOutcome 250 pub fn radroots_transport::outcome::DeliveryOutcome::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 251 pub struct radroots_transport::outcome::FetchTargetOutcome 252 impl radroots_transport::outcome::FetchTargetOutcome 253 pub fn radroots_transport::outcome::FetchTargetOutcome::message(&self) -> core::option::Option<&str> 254 pub const fn radroots_transport::outcome::FetchTargetOutcome::new(radroots_transport::target::TargetFingerprint, radroots_transport::outcome::FetchTargetState) -> Self 255 pub const fn radroots_transport::outcome::FetchTargetOutcome::state(&self) -> radroots_transport::outcome::FetchTargetState 256 pub const fn radroots_transport::outcome::FetchTargetOutcome::target(&self) -> &radroots_transport::target::TargetFingerprint 257 pub fn radroots_transport::outcome::FetchTargetOutcome::with_message(self, impl core::convert::Into<alloc::string::String>) -> Self 258 pub const radroots_transport::outcome::DELIVERY_OUTCOME_CODE_MAX_BYTES: usize 259 pub const radroots_transport::outcome::DELIVERY_OUTCOME_MESSAGE_MAX_BYTES: usize 260 pub mod radroots_transport::policy 261 pub enum radroots_transport::policy::SatisfactionClass 262 pub radroots_transport::policy::SatisfactionClass::Accepted 263 pub radroots_transport::policy::SatisfactionClass::Delivered 264 pub enum radroots_transport::policy::SatisfactionState 265 pub radroots_transport::policy::SatisfactionState::Exhausted 266 pub radroots_transport::policy::SatisfactionState::Pending 267 pub radroots_transport::policy::SatisfactionState::Satisfied 268 pub struct radroots_transport::policy::SatisfactionPolicy 269 impl radroots_transport::policy::SatisfactionPolicy 270 pub const fn radroots_transport::policy::SatisfactionPolicy::class(&self) -> radroots_transport::policy::SatisfactionClass 271 pub const fn radroots_transport::policy::SatisfactionPolicy::new(radroots_transport::policy::SatisfactionClass, radroots_transport::policy::TargetPolicy) -> Self 272 pub const fn radroots_transport::policy::SatisfactionPolicy::targets(&self) -> &radroots_transport::policy::TargetPolicy 273 pub fn radroots_transport::policy::SatisfactionPolicy::validate_for(&self, &radroots_transport::target::TargetSet) -> core::result::Result<(), radroots_transport::error::Error> 274 pub struct radroots_transport::policy::TargetPolicy 275 impl radroots_transport::policy::TargetPolicy 276 pub const fn radroots_transport::policy::TargetPolicy::all() -> Self 277 pub const fn radroots_transport::policy::TargetPolicy::any() -> Self 278 pub const fn radroots_transport::policy::TargetPolicy::is_all(&self) -> bool 279 pub const fn radroots_transport::policy::TargetPolicy::is_any(&self) -> bool 280 pub const fn radroots_transport::policy::TargetPolicy::quorum(u16) -> core::result::Result<Self, radroots_transport::error::Error> 281 pub const fn radroots_transport::policy::TargetPolicy::quorum_threshold(&self) -> core::option::Option<u16> 282 pub fn radroots_transport::policy::TargetPolicy::required(alloc::vec::Vec<radroots_transport::target::TargetFingerprint>) -> core::result::Result<Self, radroots_transport::error::Error> 283 pub fn radroots_transport::policy::TargetPolicy::required_targets(&self) -> core::option::Option<&[radroots_transport::target::TargetFingerprint]> 284 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::policy::TargetPolicy 285 pub fn radroots_transport::policy::TargetPolicy::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 286 pub fn radroots_transport::policy::evaluate_satisfaction<'a, I>(&radroots_transport::policy::SatisfactionPolicy, &radroots_transport::target::TargetSet, I) -> core::result::Result<radroots_transport::policy::SatisfactionState, radroots_transport::error::Error> where I: core::iter::traits::collect::IntoIterator<Item = (&'a radroots_transport::target::TargetFingerprint, &'a radroots_transport::outcome::DeliveryOutcome)> 287 pub mod radroots_transport::sink 288 pub struct radroots_transport::sink::DeliveryPayload 289 impl radroots_transport::sink::DeliveryPayload 290 pub const fn radroots_transport::sink::DeliveryPayload::event(&self) -> &radroots_event::draft::SignedEvent 291 pub const fn radroots_transport::sink::DeliveryPayload::new(radroots_event::draft::SignedEvent) -> Self 292 pub struct radroots_transport::sink::DeliveryReceipt 293 impl radroots_transport::sink::DeliveryReceipt 294 pub fn radroots_transport::sink::DeliveryReceipt::for_request(&radroots_transport::sink::DeliveryRequest, alloc::vec::Vec<radroots_transport::sink::DeliveryTargetReceipt>) -> core::result::Result<Self, radroots_transport::error::Error> 295 pub fn radroots_transport::sink::DeliveryReceipt::is_satisfied(&self, &radroots_transport::sink::DeliveryRequest) -> core::result::Result<bool, radroots_transport::error::Error> 296 pub const fn radroots_transport::sink::DeliveryReceipt::request_id(&self) -> &radroots_transport::sink::DeliveryRequestId 297 pub fn radroots_transport::sink::DeliveryReceipt::satisfaction(&self, &radroots_transport::sink::DeliveryRequest) -> core::result::Result<radroots_transport::policy::SatisfactionState, radroots_transport::error::Error> 298 pub fn radroots_transport::sink::DeliveryReceipt::target_receipts(&self) -> &[radroots_transport::sink::DeliveryTargetReceipt] 299 pub fn radroots_transport::sink::DeliveryReceipt::validate_for_request(&self, &radroots_transport::sink::DeliveryRequest) -> core::result::Result<(), radroots_transport::error::Error> 300 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::sink::DeliveryReceipt 301 pub fn radroots_transport::sink::DeliveryReceipt::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 302 pub struct radroots_transport::sink::DeliveryRequest 303 impl radroots_transport::sink::DeliveryRequest 304 pub const fn radroots_transport::sink::DeliveryRequest::deadline_unix_ms(&self) -> u64 305 pub fn radroots_transport::sink::DeliveryRequest::new(impl core::convert::Into<alloc::string::String>, radroots_transport::sink::DeliveryPayload, radroots_transport::target::TargetSet, radroots_transport::policy::SatisfactionPolicy, u64) -> core::result::Result<Self, radroots_transport::error::Error> 306 pub const fn radroots_transport::sink::DeliveryRequest::payload(&self) -> &radroots_transport::sink::DeliveryPayload 307 pub const fn radroots_transport::sink::DeliveryRequest::request_id(&self) -> &radroots_transport::sink::DeliveryRequestId 308 pub const fn radroots_transport::sink::DeliveryRequest::satisfaction(&self) -> &radroots_transport::policy::SatisfactionPolicy 309 pub const fn radroots_transport::sink::DeliveryRequest::target_set(&self) -> &radroots_transport::target::TargetSet 310 pub fn radroots_transport::sink::DeliveryRequest::validate_target_selection(&self, &radroots_transport::target::TargetSet) -> core::result::Result<(), radroots_transport::error::Error> 311 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::sink::DeliveryRequest 312 pub fn radroots_transport::sink::DeliveryRequest::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 313 pub struct radroots_transport::sink::DeliveryRequestId(_) 314 impl radroots_transport::sink::DeliveryRequestId 315 pub fn radroots_transport::sink::DeliveryRequestId::as_str(&self) -> &str 316 pub fn radroots_transport::sink::DeliveryRequestId::parse(impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_transport::error::Error> 317 impl serde_core::ser::Serialize for radroots_transport::sink::DeliveryRequestId 318 pub fn radroots_transport::sink::DeliveryRequestId::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 319 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::sink::DeliveryRequestId 320 pub fn radroots_transport::sink::DeliveryRequestId::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 321 pub struct radroots_transport::sink::DeliveryTargetReceipt 322 impl radroots_transport::sink::DeliveryTargetReceipt 323 pub const fn radroots_transport::sink::DeliveryTargetReceipt::attempted(radroots_transport::target::Target, radroots_transport::outcome::DeliveryOutcome) -> Self 324 pub const fn radroots_transport::sink::DeliveryTargetReceipt::outcome(&self) -> &radroots_transport::outcome::DeliveryOutcome 325 pub fn radroots_transport::sink::DeliveryTargetReceipt::skipped(radroots_transport::target::Target, radroots_transport::outcome::DeliveryOutcome) -> core::result::Result<Self, radroots_transport::error::Error> 326 pub const fn radroots_transport::sink::DeliveryTargetReceipt::target(&self) -> &radroots_transport::target::Target 327 pub const fn radroots_transport::sink::DeliveryTargetReceipt::was_attempted(&self) -> bool 328 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::sink::DeliveryTargetReceipt 329 pub fn radroots_transport::sink::DeliveryTargetReceipt::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 330 pub struct radroots_transport::sink::SinkFailure 331 impl radroots_transport::sink::SinkFailure 332 pub fn radroots_transport::sink::SinkFailure::code(&self) -> &str 333 pub fn radroots_transport::sink::SinkFailure::for_request(&radroots_transport::sink::DeliveryRequest, impl core::convert::Into<alloc::string::String>, radroots_transport::outcome::Retryability, core::option::Option<u64>, core::option::Option<alloc::string::String>, alloc::vec::Vec<radroots_transport::sink::DeliveryTargetReceipt>) -> core::result::Result<Self, radroots_transport::error::Error> 334 pub fn radroots_transport::sink::SinkFailure::invalid_contract(&radroots_transport::sink::DeliveryRequest) -> Self 335 pub fn radroots_transport::sink::SinkFailure::message(&self) -> core::option::Option<&str> 336 pub fn radroots_transport::sink::SinkFailure::partial_evidence(&self) -> &[radroots_transport::sink::DeliveryTargetReceipt] 337 pub const fn radroots_transport::sink::SinkFailure::retry_after_unix_ms(&self) -> core::option::Option<u64> 338 pub const fn radroots_transport::sink::SinkFailure::retryability(&self) -> radroots_transport::outcome::Retryability 339 pub fn radroots_transport::sink::SinkFailure::transport_closed(&radroots_transport::sink::DeliveryRequest) -> Self 340 pub fn radroots_transport::sink::SinkFailure::transport_unavailable(&radroots_transport::sink::DeliveryRequest) -> Self 341 pub fn radroots_transport::sink::SinkFailure::validate_for_request(&self, &radroots_transport::sink::DeliveryRequest) -> core::result::Result<(), radroots_transport::error::Error> 342 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::sink::SinkFailure 343 pub fn radroots_transport::sink::SinkFailure::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 344 pub struct radroots_transport::sink::SinkStatus 345 impl radroots_transport::SinkStatus 346 pub const fn radroots_transport::SinkStatus::availability(&self) -> radroots_transport::capability::Availability 347 pub const fn radroots_transport::SinkStatus::capabilities(&self) -> radroots_transport::capability::SinkCapabilities 348 pub fn radroots_transport::SinkStatus::from_descriptor(&radroots_protocol::capability::v1::TransportDescriptor, bool, impl core::convert::Into<alloc::string::String>) -> Self 349 pub const fn radroots_transport::SinkStatus::is_configured(&self) -> bool 350 pub const fn radroots_transport::SinkStatus::maturity(&self) -> radroots_transport::capability::Maturity 351 pub fn radroots_transport::SinkStatus::message(&self) -> &str 352 pub fn radroots_transport::SinkStatus::new(radroots_transport::TransportId, bool, radroots_transport::capability::Maturity, radroots_transport::capability::Availability, radroots_transport::capability::SinkCapabilities, impl core::convert::Into<alloc::string::String>) -> Self 353 pub const fn radroots_transport::SinkStatus::transport_id(&self) -> radroots_transport::TransportId 354 pub const radroots_transport::sink::DELIVERY_REQUEST_ID_MAX_BYTES: usize 355 pub trait radroots_transport::sink::EventSink: radroots_transport::host::HostBound 356 pub fn radroots_transport::sink::EventSink::deliver(&self, radroots_transport::sink::DeliveryRequest) -> radroots_transport::source::BoxFuture<'_, core::result::Result<radroots_transport::sink::DeliveryReceipt, radroots_transport::sink::SinkFailure>> 357 pub fn radroots_transport::sink::EventSink::deliver_selected(&self, radroots_transport::sink::DeliveryRequest, radroots_transport::target::TargetSet) -> radroots_transport::source::BoxFuture<'_, core::result::Result<radroots_transport::sink::DeliveryReceipt, radroots_transport::sink::SinkFailure>> 358 pub fn radroots_transport::sink::EventSink::status(&self) -> radroots_transport::source::BoxFuture<'_, core::result::Result<radroots_transport::SinkStatus, radroots_transport::error::Error>> 359 pub mod radroots_transport::source 360 pub enum radroots_transport::source::NextPage 361 pub radroots_transport::source::NextPage::Cancelled 362 pub radroots_transport::source::NextPage::Cancelled::resume_from: core::option::Option<radroots_transport::source::FetchCursor> 363 pub radroots_transport::source::NextPage::Complete 364 pub radroots_transport::source::NextPage::Cursor(radroots_transport::source::FetchCursor) 365 pub enum radroots_transport::source::SubscriptionEndReason 366 pub radroots_transport::source::SubscriptionEndReason::Cancelled 367 pub radroots_transport::source::SubscriptionEndReason::Deadline 368 pub radroots_transport::source::SubscriptionEndReason::EventLimit 369 pub radroots_transport::source::SubscriptionEndReason::SourceClosed 370 pub enum radroots_transport::source::SubscriptionNext 371 pub radroots_transport::source::SubscriptionNext::End(radroots_transport::source::SubscriptionEnd) 372 pub radroots_transport::source::SubscriptionNext::Event(alloc::boxed::Box<radroots_transport::source::SubscriptionEvent>) 373 pub struct radroots_transport::source::EventProvenance 374 impl radroots_transport::source::EventProvenance 375 pub const fn radroots_transport::source::EventProvenance::cursor(&self) -> core::option::Option<&radroots_transport::source::FetchCursor> 376 pub fn radroots_transport::source::EventProvenance::new(radroots_transport::TransportId, radroots_transport::target::TargetFingerprint, u64) -> core::result::Result<Self, radroots_transport::error::Error> 377 pub const fn radroots_transport::source::EventProvenance::observed_at_unix_ms(&self) -> u64 378 pub const fn radroots_transport::source::EventProvenance::target(&self) -> &radroots_transport::target::TargetFingerprint 379 pub const fn radroots_transport::source::EventProvenance::transport_id(&self) -> radroots_transport::TransportId 380 pub fn radroots_transport::source::EventProvenance::with_cursor(self, radroots_transport::source::FetchCursor) -> Self 381 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::source::EventProvenance 382 pub fn radroots_transport::source::EventProvenance::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 383 pub struct radroots_transport::source::FetchBounds 384 impl radroots_transport::source::FetchBounds 385 pub const fn radroots_transport::source::FetchBounds::deadline_unix_ms(self) -> u64 386 pub const fn radroots_transport::source::FetchBounds::limit(self) -> u16 387 pub const fn radroots_transport::source::FetchBounds::new(u16, u64) -> core::result::Result<Self, radroots_transport::error::Error> 388 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::source::FetchBounds 389 pub fn radroots_transport::source::FetchBounds::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 390 pub struct radroots_transport::source::FetchCursor(_) 391 impl radroots_transport::source::FetchCursor 392 pub fn radroots_transport::source::FetchCursor::as_str(&self) -> &str 393 pub fn radroots_transport::source::FetchCursor::parse(impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_transport::error::Error> 394 impl core::fmt::Display for radroots_transport::source::FetchCursor 395 pub fn radroots_transport::source::FetchCursor::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 396 impl serde_core::ser::Serialize for radroots_transport::source::FetchCursor 397 pub fn radroots_transport::source::FetchCursor::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 398 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::source::FetchCursor 399 pub fn radroots_transport::source::FetchCursor::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 400 pub struct radroots_transport::source::FetchPage 401 impl radroots_transport::source::FetchPage 402 pub fn radroots_transport::source::FetchPage::events(&self) -> &[radroots_transport::source::ObservedEvent] 403 pub fn radroots_transport::source::FetchPage::for_request(&radroots_transport::source::FetchRequest, alloc::vec::Vec<radroots_transport::source::ObservedEvent>, alloc::vec::Vec<radroots_transport::outcome::FetchTargetOutcome>, radroots_transport::source::NextPage) -> core::result::Result<Self, radroots_transport::error::Error> 404 pub const fn radroots_transport::source::FetchPage::next_page(&self) -> &radroots_transport::source::NextPage 405 pub const fn radroots_transport::source::FetchPage::request_id(&self) -> &radroots_transport::source::FetchRequestId 406 pub fn radroots_transport::source::FetchPage::target_outcomes(&self) -> &[radroots_transport::outcome::FetchTargetOutcome] 407 pub fn radroots_transport::source::FetchPage::validate(&self) -> core::result::Result<(), radroots_transport::error::Error> 408 pub fn radroots_transport::source::FetchPage::validate_for_request(&self, &radroots_transport::source::FetchRequest) -> core::result::Result<(), radroots_transport::error::Error> 409 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::source::FetchPage 410 pub fn radroots_transport::source::FetchPage::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 411 pub struct radroots_transport::source::FetchRequest 412 impl radroots_transport::source::FetchRequest 413 pub const fn radroots_transport::source::FetchRequest::bounds(&self) -> radroots_transport::source::FetchBounds 414 pub fn radroots_transport::source::FetchRequest::cursor(&self) -> core::option::Option<&radroots_transport::source::FetchCursor> 415 pub fn radroots_transport::source::FetchRequest::new(impl core::convert::Into<alloc::string::String>, radroots_transport::target::TargetSet, radroots_transport::source::FetchBounds) -> core::result::Result<Self, radroots_transport::error::Error> 416 pub fn radroots_transport::source::FetchRequest::request_id(&self) -> &radroots_transport::source::FetchRequestId 417 pub const fn radroots_transport::source::FetchRequest::selector(&self) -> &radroots_transport::source::FetchSelector 418 pub fn radroots_transport::source::FetchRequest::target_set(&self) -> &radroots_transport::target::TargetSet 419 pub fn radroots_transport::source::FetchRequest::with_cursor(self, radroots_transport::source::FetchCursor) -> Self 420 pub fn radroots_transport::source::FetchRequest::with_selector(self, radroots_transport::source::FetchSelector) -> Self 421 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::source::FetchRequest 422 pub fn radroots_transport::source::FetchRequest::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 423 pub struct radroots_transport::source::FetchRequestId(_) 424 impl radroots_transport::source::FetchRequestId 425 pub fn radroots_transport::source::FetchRequestId::as_str(&self) -> &str 426 pub fn radroots_transport::source::FetchRequestId::parse(impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_transport::error::Error> 427 impl core::fmt::Display for radroots_transport::source::FetchRequestId 428 pub fn radroots_transport::source::FetchRequestId::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 429 impl serde_core::ser::Serialize for radroots_transport::source::FetchRequestId 430 pub fn radroots_transport::source::FetchRequestId::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 431 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::source::FetchRequestId 432 pub fn radroots_transport::source::FetchRequestId::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 433 pub struct radroots_transport::source::FetchSelector 434 impl radroots_transport::source::FetchSelector 435 pub const fn radroots_transport::source::FetchSelector::all() -> Self 436 pub fn radroots_transport::source::FetchSelector::authors(&self) -> &[radroots_identity::key::PublicKey] 437 pub fn radroots_transport::source::FetchSelector::exact_tag_filters(&self) -> impl core::iter::traits::iterator::Iterator<Item = (char, &[alloc::string::String])> + '_ 438 pub fn radroots_transport::source::FetchSelector::kinds(&self) -> &[u32] 439 pub fn radroots_transport::source::FetchSelector::matches(&self, &radroots_event::draft::SignedEvent) -> bool 440 pub const fn radroots_transport::source::FetchSelector::since_unix_seconds(&self) -> core::option::Option<u64> 441 pub const fn radroots_transport::source::FetchSelector::until_unix_seconds(&self) -> core::option::Option<u64> 442 pub fn radroots_transport::source::FetchSelector::with_authors(self, alloc::vec::Vec<radroots_identity::key::PublicKey>) -> core::result::Result<Self, radroots_transport::error::Error> 443 pub fn radroots_transport::source::FetchSelector::with_exact_tag_value(self, char, impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_transport::error::Error> 444 pub fn radroots_transport::source::FetchSelector::with_kinds(self, alloc::vec::Vec<u32>) -> core::result::Result<Self, radroots_transport::error::Error> 445 pub fn radroots_transport::source::FetchSelector::with_since_unix_seconds(self, u64) -> core::result::Result<Self, radroots_transport::error::Error> 446 pub fn radroots_transport::source::FetchSelector::with_until_unix_seconds(self, u64) -> core::result::Result<Self, radroots_transport::error::Error> 447 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::source::FetchSelector 448 pub fn radroots_transport::source::FetchSelector::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 449 pub struct radroots_transport::source::ObservedEvent 450 impl radroots_transport::source::ObservedEvent 451 pub const fn radroots_transport::source::ObservedEvent::event(&self) -> &radroots_event::draft::SignedEvent 452 pub const fn radroots_transport::source::ObservedEvent::new(radroots_event::draft::SignedEvent, radroots_transport::source::EventProvenance) -> Self 453 pub const fn radroots_transport::source::ObservedEvent::provenance(&self) -> &radroots_transport::source::EventProvenance 454 pub struct radroots_transport::source::SourceStatus 455 impl radroots_transport::SourceStatus 456 pub const fn radroots_transport::SourceStatus::availability(&self) -> radroots_transport::capability::Availability 457 pub const fn radroots_transport::SourceStatus::capabilities(&self) -> radroots_transport::capability::SourceCapabilities 458 pub fn radroots_transport::SourceStatus::from_descriptor(&radroots_protocol::capability::v1::TransportDescriptor, bool, impl core::convert::Into<alloc::string::String>) -> Self 459 pub const fn radroots_transport::SourceStatus::is_configured(&self) -> bool 460 pub const fn radroots_transport::SourceStatus::maturity(&self) -> radroots_transport::capability::Maturity 461 pub fn radroots_transport::SourceStatus::message(&self) -> &str 462 pub fn radroots_transport::SourceStatus::new(radroots_transport::TransportId, bool, radroots_transport::capability::Maturity, radroots_transport::capability::Availability, radroots_transport::capability::SourceCapabilities, impl core::convert::Into<alloc::string::String>) -> Self 463 pub const fn radroots_transport::SourceStatus::transport_id(&self) -> radroots_transport::TransportId 464 pub struct radroots_transport::source::SubscriptionBounds 465 impl radroots_transport::source::SubscriptionBounds 466 pub const fn radroots_transport::source::SubscriptionBounds::deadline_unix_ms(self) -> u64 467 pub const fn radroots_transport::source::SubscriptionBounds::event_limit(self) -> u16 468 pub const fn radroots_transport::source::SubscriptionBounds::new(u16, u64) -> core::result::Result<Self, radroots_transport::error::Error> 469 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::source::SubscriptionBounds 470 pub fn radroots_transport::source::SubscriptionBounds::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 471 pub struct radroots_transport::source::SubscriptionCheckpoint 472 impl radroots_transport::source::SubscriptionCheckpoint 473 pub const fn radroots_transport::source::SubscriptionCheckpoint::cursor(&self) -> &radroots_transport::source::FetchCursor 474 pub const fn radroots_transport::source::SubscriptionCheckpoint::new(radroots_transport::target::TargetFingerprint, radroots_transport::source::FetchCursor) -> Self 475 pub const fn radroots_transport::source::SubscriptionCheckpoint::target(&self) -> &radroots_transport::target::TargetFingerprint 476 pub struct radroots_transport::source::SubscriptionEnd 477 impl radroots_transport::source::SubscriptionEnd 478 pub fn radroots_transport::source::SubscriptionEnd::checkpoints(&self) -> &[radroots_transport::source::SubscriptionCheckpoint] 479 pub const fn radroots_transport::source::SubscriptionEnd::event_count(&self) -> u16 480 pub fn radroots_transport::source::SubscriptionEnd::for_request<I>(&radroots_transport::source::SubscriptionRequest, u16, I, radroots_transport::source::SubscriptionEndReason) -> core::result::Result<Self, radroots_transport::error::Error> where I: core::iter::traits::collect::IntoIterator<Item = radroots_transport::source::SubscriptionCheckpoint> 481 pub const fn radroots_transport::source::SubscriptionEnd::reason(&self) -> radroots_transport::source::SubscriptionEndReason 482 pub const fn radroots_transport::source::SubscriptionEnd::request(&self) -> &radroots_transport::source::SubscriptionRequest 483 pub fn radroots_transport::source::SubscriptionEnd::validate_for_request(&self, &radroots_transport::source::SubscriptionRequest) -> core::result::Result<(), radroots_transport::error::Error> 484 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::source::SubscriptionEnd 485 pub fn radroots_transport::source::SubscriptionEnd::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 486 pub struct radroots_transport::source::SubscriptionEvent 487 impl radroots_transport::source::SubscriptionEvent 488 pub const fn radroots_transport::source::SubscriptionEvent::checkpoint(&self) -> &radroots_transport::source::SubscriptionCheckpoint 489 pub fn radroots_transport::source::SubscriptionEvent::for_request(&radroots_transport::source::SubscriptionRequest, radroots_transport::source::ObservedEvent, radroots_transport::source::SubscriptionCheckpoint) -> core::result::Result<Self, radroots_transport::error::Error> 490 pub const fn radroots_transport::source::SubscriptionEvent::observed(&self) -> &radroots_transport::source::ObservedEvent 491 pub const fn radroots_transport::source::SubscriptionEvent::request(&self) -> &radroots_transport::source::SubscriptionRequest 492 pub const fn radroots_transport::source::SubscriptionEvent::request_id(&self) -> &radroots_transport::source::SubscriptionRequestId 493 pub fn radroots_transport::source::SubscriptionEvent::validate_for_request(&self, &radroots_transport::source::SubscriptionRequest) -> core::result::Result<(), radroots_transport::error::Error> 494 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::source::SubscriptionEvent 495 pub fn radroots_transport::source::SubscriptionEvent::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 496 pub struct radroots_transport::source::SubscriptionRequest 497 impl radroots_transport::source::SubscriptionRequest 498 pub const fn radroots_transport::source::SubscriptionRequest::bounds(&self) -> radroots_transport::source::SubscriptionBounds 499 pub fn radroots_transport::source::SubscriptionRequest::checkpoints(&self) -> &[radroots_transport::source::SubscriptionCheckpoint] 500 pub fn radroots_transport::source::SubscriptionRequest::new(impl core::convert::AsRef<str>, radroots_transport::target::TargetSet, radroots_transport::source::SubscriptionBounds) -> core::result::Result<Self, radroots_transport::error::Error> 501 pub const fn radroots_transport::source::SubscriptionRequest::request_id(&self) -> &radroots_transport::source::SubscriptionRequestId 502 pub const fn radroots_transport::source::SubscriptionRequest::selector(&self) -> &radroots_transport::source::FetchSelector 503 pub const fn radroots_transport::source::SubscriptionRequest::target_set(&self) -> &radroots_transport::target::TargetSet 504 pub fn radroots_transport::source::SubscriptionRequest::with_checkpoints<I>(self, I) -> core::result::Result<Self, radroots_transport::error::Error> where I: core::iter::traits::collect::IntoIterator<Item = radroots_transport::source::SubscriptionCheckpoint> 505 pub fn radroots_transport::source::SubscriptionRequest::with_selector(self, radroots_transport::source::FetchSelector) -> Self 506 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::source::SubscriptionRequest 507 pub fn radroots_transport::source::SubscriptionRequest::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 508 pub struct radroots_transport::source::SubscriptionRequestId(_) 509 impl radroots_transport::source::SubscriptionRequestId 510 pub fn radroots_transport::source::SubscriptionRequestId::as_str(&self) -> &str 511 pub fn radroots_transport::source::SubscriptionRequestId::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_transport::error::Error> 512 impl core::fmt::Display for radroots_transport::source::SubscriptionRequestId 513 pub fn radroots_transport::source::SubscriptionRequestId::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 514 impl serde_core::ser::Serialize for radroots_transport::source::SubscriptionRequestId 515 pub fn radroots_transport::source::SubscriptionRequestId::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 516 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::source::SubscriptionRequestId 517 pub fn radroots_transport::source::SubscriptionRequestId::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 518 pub const radroots_transport::source::FETCH_CURSOR_MAX_BYTES: usize 519 pub const radroots_transport::source::FETCH_PAGE_MAX_EVENTS: u16 520 pub const radroots_transport::source::FETCH_REQUEST_ID_MAX_BYTES: usize 521 pub const radroots_transport::source::FETCH_SELECTOR_MAX_AUTHORS: usize 522 pub const radroots_transport::source::FETCH_SELECTOR_MAX_KINDS: usize 523 pub const radroots_transport::source::FETCH_SELECTOR_MAX_TAG_KEYS: usize 524 pub const radroots_transport::source::FETCH_SELECTOR_MAX_TAG_VALUES: usize 525 pub const radroots_transport::source::FETCH_SELECTOR_TAG_VALUE_MAX_BYTES: usize 526 pub const radroots_transport::source::SUBSCRIPTION_MAX_EVENTS: u16 527 pub const radroots_transport::source::SUBSCRIPTION_REQUEST_ID_MAX_BYTES: usize 528 pub trait radroots_transport::source::EventSource: radroots_transport::host::HostBound 529 pub fn radroots_transport::source::EventSource::fetch(&self, radroots_transport::source::FetchRequest) -> radroots_transport::source::BoxFuture<'_, core::result::Result<radroots_transport::source::FetchPage, radroots_transport::error::Error>> 530 pub fn radroots_transport::source::EventSource::status(&self) -> radroots_transport::source::BoxFuture<'_, core::result::Result<radroots_transport::SourceStatus, radroots_transport::error::Error>> 531 pub trait radroots_transport::source::EventSubscriber: radroots_transport::host::HostBound 532 pub fn radroots_transport::source::EventSubscriber::subscribe(&self, radroots_transport::source::SubscriptionRequest) -> radroots_transport::source::BoxFuture<'_, core::result::Result<radroots_transport::source::BoxSubscription, radroots_transport::error::Error>> 533 pub trait radroots_transport::source::EventSubscription: radroots_transport::host::MoveBound 534 pub fn radroots_transport::source::EventSubscription::cancel(&mut self) -> radroots_transport::source::BoxFuture<'_, core::result::Result<radroots_transport::source::SubscriptionEnd, radroots_transport::error::Error>> 535 pub fn radroots_transport::source::EventSubscription::next(&mut self) -> radroots_transport::source::BoxFuture<'_, core::result::Result<radroots_transport::source::SubscriptionNext, radroots_transport::error::Error>> 536 pub fn radroots_transport::source::EventSubscription::request(&self) -> &radroots_transport::source::SubscriptionRequest 537 pub type radroots_transport::source::BoxFuture<'a, T> = core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = T> + core::marker::Send + 'a)>> 538 pub type radroots_transport::source::BoxSubscription = alloc::boxed::Box<dyn radroots_transport::source::EventSubscription> 539 pub mod radroots_transport::target 540 #[non_exhaustive] pub enum radroots_transport::target::TargetNetworkPolicy 541 pub radroots_transport::target::TargetNetworkPolicy::PrivateDevice 542 pub radroots_transport::target::TargetNetworkPolicy::TlsOrLoopback 543 pub struct radroots_transport::target::EndpointUri(_) 544 impl radroots_transport::target::EndpointUri 545 pub fn radroots_transport::target::EndpointUri::as_str(&self) -> &str 546 pub fn radroots_transport::target::EndpointUri::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_transport::error::Error> 547 impl core::convert::AsRef<str> for radroots_transport::target::EndpointUri 548 pub fn radroots_transport::target::EndpointUri::as_ref(&self) -> &str 549 impl core::convert::TryFrom<&str> for radroots_transport::target::EndpointUri 550 pub type radroots_transport::target::EndpointUri::Error = radroots_transport::error::Error 551 pub fn radroots_transport::target::EndpointUri::try_from(&str) -> core::result::Result<Self, Self::Error> 552 impl core::fmt::Display for radroots_transport::target::EndpointUri 553 pub fn radroots_transport::target::EndpointUri::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 554 impl core::str::traits::FromStr for radroots_transport::target::EndpointUri 555 pub type radroots_transport::target::EndpointUri::Err = radroots_transport::error::Error 556 pub fn radroots_transport::target::EndpointUri::from_str(&str) -> core::result::Result<Self, Self::Err> 557 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::target::EndpointUri 558 pub fn radroots_transport::target::EndpointUri::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 559 pub struct radroots_transport::target::Target 560 impl radroots_transport::target::Target 561 pub fn radroots_transport::target::Target::fingerprint(&self) -> &radroots_transport::target::TargetFingerprint 562 pub fn radroots_transport::target::Target::kind(&self) -> &radroots_transport::TransportId 563 pub fn radroots_transport::target::Target::label(&self) -> core::option::Option<&radroots_transport::target::TargetLabel> 564 pub fn radroots_transport::target::Target::local(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_transport::error::Error> 565 pub fn radroots_transport::target::Target::local_with_metadata(impl core::convert::AsRef<str>, core::option::Option<radroots_transport::target::TargetScope>, core::option::Option<radroots_transport::target::TargetLabel>) -> core::result::Result<Self, radroots_transport::error::Error> 566 pub fn radroots_transport::target::Target::matches_nostr_relay(&self, &str) -> core::result::Result<bool, radroots_transport::error::Error> 567 pub fn radroots_transport::target::Target::new(radroots_transport::TransportId, impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_transport::error::Error> 568 pub fn radroots_transport::target::Target::new_with_metadata(radroots_transport::TransportId, impl core::convert::AsRef<str>, core::option::Option<radroots_transport::target::TargetScope>, core::option::Option<radroots_transport::target::TargetLabel>) -> core::result::Result<Self, radroots_transport::error::Error> 569 pub fn radroots_transport::target::Target::nostr_relay(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_transport::error::Error> 570 pub fn radroots_transport::target::Target::nostr_relay_with_metadata(impl core::convert::AsRef<str>, core::option::Option<radroots_transport::target::TargetScope>, core::option::Option<radroots_transport::target::TargetLabel>) -> core::result::Result<Self, radroots_transport::error::Error> 571 pub fn radroots_transport::target::Target::nostr_relay_with_policy(impl core::convert::AsRef<str>, radroots_transport::target::TargetNetworkPolicy) -> core::result::Result<Self, radroots_transport::error::Error> 572 pub fn radroots_transport::target::Target::scope(&self) -> core::option::Option<&radroots_transport::target::TargetScope> 573 pub fn radroots_transport::target::Target::uri(&self) -> &radroots_transport::target::EndpointUri 574 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::target::Target 575 pub fn radroots_transport::target::Target::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 576 pub struct radroots_transport::target::TargetFingerprint(_) 577 impl radroots_transport::target::TargetFingerprint 578 pub fn radroots_transport::target::TargetFingerprint::as_str(&self) -> &str 579 pub fn radroots_transport::target::TargetFingerprint::from_target(&radroots_transport::TransportId, &radroots_transport::target::EndpointUri, core::option::Option<&radroots_transport::target::TargetScope>) -> Self 580 pub fn radroots_transport::target::TargetFingerprint::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_transport::error::Error> 581 impl core::convert::AsRef<str> for radroots_transport::target::TargetFingerprint 582 pub fn radroots_transport::target::TargetFingerprint::as_ref(&self) -> &str 583 impl core::convert::TryFrom<&str> for radroots_transport::target::TargetFingerprint 584 pub type radroots_transport::target::TargetFingerprint::Error = radroots_transport::error::Error 585 pub fn radroots_transport::target::TargetFingerprint::try_from(&str) -> core::result::Result<Self, Self::Error> 586 impl core::fmt::Display for radroots_transport::target::TargetFingerprint 587 pub fn radroots_transport::target::TargetFingerprint::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 588 impl core::str::traits::FromStr for radroots_transport::target::TargetFingerprint 589 pub type radroots_transport::target::TargetFingerprint::Err = radroots_transport::error::Error 590 pub fn radroots_transport::target::TargetFingerprint::from_str(&str) -> core::result::Result<Self, Self::Err> 591 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::target::TargetFingerprint 592 pub fn radroots_transport::target::TargetFingerprint::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 593 pub struct radroots_transport::target::TargetLabel(_) 594 impl radroots_transport::target::TargetLabel 595 pub fn radroots_transport::target::TargetLabel::as_str(&self) -> &str 596 pub fn radroots_transport::target::TargetLabel::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_transport::error::Error> 597 impl core::convert::AsRef<str> for radroots_transport::target::TargetLabel 598 pub fn radroots_transport::target::TargetLabel::as_ref(&self) -> &str 599 impl core::convert::TryFrom<&str> for radroots_transport::target::TargetLabel 600 pub type radroots_transport::target::TargetLabel::Error = radroots_transport::error::Error 601 pub fn radroots_transport::target::TargetLabel::try_from(&str) -> core::result::Result<Self, Self::Error> 602 impl core::fmt::Display for radroots_transport::target::TargetLabel 603 pub fn radroots_transport::target::TargetLabel::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 604 impl core::str::traits::FromStr for radroots_transport::target::TargetLabel 605 pub type radroots_transport::target::TargetLabel::Err = radroots_transport::error::Error 606 pub fn radroots_transport::target::TargetLabel::from_str(&str) -> core::result::Result<Self, Self::Err> 607 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::target::TargetLabel 608 pub fn radroots_transport::target::TargetLabel::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 609 pub struct radroots_transport::target::TargetScope(_) 610 impl radroots_transport::target::TargetScope 611 pub fn radroots_transport::target::TargetScope::as_str(&self) -> &str 612 pub fn radroots_transport::target::TargetScope::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_transport::error::Error> 613 impl core::convert::AsRef<str> for radroots_transport::target::TargetScope 614 pub fn radroots_transport::target::TargetScope::as_ref(&self) -> &str 615 impl core::convert::TryFrom<&str> for radroots_transport::target::TargetScope 616 pub type radroots_transport::target::TargetScope::Error = radroots_transport::error::Error 617 pub fn radroots_transport::target::TargetScope::try_from(&str) -> core::result::Result<Self, Self::Error> 618 impl core::fmt::Display for radroots_transport::target::TargetScope 619 pub fn radroots_transport::target::TargetScope::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 620 impl core::str::traits::FromStr for radroots_transport::target::TargetScope 621 pub type radroots_transport::target::TargetScope::Err = radroots_transport::error::Error 622 pub fn radroots_transport::target::TargetScope::from_str(&str) -> core::result::Result<Self, Self::Err> 623 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::target::TargetScope 624 pub fn radroots_transport::target::TargetScope::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 625 pub struct radroots_transport::target::TargetSet 626 impl radroots_transport::target::TargetSet 627 pub fn radroots_transport::target::TargetSet::contains(&self, &radroots_transport::target::TargetFingerprint) -> bool 628 pub fn radroots_transport::target::TargetSet::is_empty(&self) -> bool 629 pub fn radroots_transport::target::TargetSet::len(&self) -> usize 630 pub fn radroots_transport::target::TargetSet::new(alloc::vec::Vec<radroots_transport::target::Target>) -> core::result::Result<Self, radroots_transport::error::Error> 631 pub fn radroots_transport::target::TargetSet::targets(&self) -> &[radroots_transport::target::Target] 632 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::target::TargetSet 633 pub fn radroots_transport::target::TargetSet::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 634 pub const radroots_transport::target::TARGET_SET_MAX_ITEMS: usize 635 pub enum radroots_transport::Error 636 pub radroots_transport::Error::DeliveryReceiptPayloadMismatch 637 pub radroots_transport::Error::DeliveryReceiptRequestIdMismatch 638 pub radroots_transport::Error::DeliveryReceiptTargetSetMismatch 639 pub radroots_transport::Error::DeliveryTargetReceiptAttemptMismatch 640 pub radroots_transport::Error::DeliveryTargetReceiptStatusMismatch 641 pub radroots_transport::Error::DuplicateDeliveryTargetReceipt 642 pub radroots_transport::Error::DuplicateFetchAuthor 643 pub radroots_transport::Error::DuplicateFetchKind 644 pub radroots_transport::Error::DuplicateFetchTagValue 645 pub radroots_transport::Error::DuplicateFetchTargetOutcome 646 pub radroots_transport::Error::DuplicateRequiredTargetFingerprint 647 pub radroots_transport::Error::DuplicateSubscriptionCheckpoint 648 pub radroots_transport::Error::DuplicateTargetFingerprint 649 pub radroots_transport::Error::EmptyDeliveryRequestId 650 pub radroots_transport::Error::EmptyFetchCursor 651 pub radroots_transport::Error::EmptyFetchRequestId 652 pub radroots_transport::Error::EmptyPayloadBytes 653 pub radroots_transport::Error::EmptyPayloadId 654 pub radroots_transport::Error::EmptyPayloadLabel 655 pub radroots_transport::Error::EmptyRequiredTargetSet 656 pub radroots_transport::Error::EmptySubscriptionRequestId 657 pub radroots_transport::Error::EmptyTargetLabel 658 pub radroots_transport::Error::EmptyTargetScope 659 pub radroots_transport::Error::EmptyTargetSet 660 pub radroots_transport::Error::EmptyTargetUri 661 pub radroots_transport::Error::EmptyTransportKind 662 pub radroots_transport::Error::FetchPageLimitExceeded 663 pub radroots_transport::Error::FetchPageRequestMismatch 664 pub radroots_transport::Error::FetchSelectorTooLarge 665 pub radroots_transport::Error::InvalidDeliveryDeadline 666 pub radroots_transport::Error::InvalidDeliveryOutcome 667 pub radroots_transport::Error::InvalidDeliveryRequestId 668 pub radroots_transport::Error::InvalidDeliveryTargetSelection 669 pub radroots_transport::Error::InvalidDeliveryTimestamp 670 pub radroots_transport::Error::InvalidFetchCursor 671 pub radroots_transport::Error::InvalidFetchDeadline 672 pub radroots_transport::Error::InvalidFetchLimit 673 pub radroots_transport::Error::InvalidFetchRequestId 674 pub radroots_transport::Error::InvalidFetchTagKey 675 pub radroots_transport::Error::InvalidFetchTagValue 676 pub radroots_transport::Error::InvalidFetchTimeRange 677 pub radroots_transport::Error::InvalidObservedAt 678 pub radroots_transport::Error::InvalidPayloadBytes 679 pub radroots_transport::Error::InvalidPayloadDigest 680 pub radroots_transport::Error::InvalidPayloadId 681 pub radroots_transport::Error::InvalidPayloadLabel 682 pub radroots_transport::Error::InvalidSatisfactionPolicy 683 pub radroots_transport::Error::InvalidSubscriptionDeadline 684 pub radroots_transport::Error::InvalidSubscriptionEnd 685 pub radroots_transport::Error::InvalidSubscriptionLimit 686 pub radroots_transport::Error::InvalidSubscriptionRequestId 687 pub radroots_transport::Error::InvalidTargetFingerprint 688 pub radroots_transport::Error::InvalidTargetLabel 689 pub radroots_transport::Error::InvalidTargetScope 690 pub radroots_transport::Error::InvalidTargetUri 691 pub radroots_transport::Error::InvalidTransportKind 692 pub radroots_transport::Error::MissingDeliveryTargetReceipt 693 pub radroots_transport::Error::PayloadDigestMismatch 694 pub radroots_transport::Error::RequiredTargetNotRequested 695 pub radroots_transport::Error::SubscriptionCheckpointSetTooLarge 696 pub radroots_transport::Error::SubscriptionEndLimitExceeded 697 pub radroots_transport::Error::SubscriptionEndRequestMismatch 698 pub radroots_transport::Error::SubscriptionEventCheckpointMismatch 699 pub radroots_transport::Error::SubscriptionUnavailable 700 pub radroots_transport::Error::TargetSetTooLarge 701 pub radroots_transport::Error::TransportClosed 702 pub radroots_transport::Error::TransportOutcomeStatusMismatch 703 pub radroots_transport::Error::TransportUnavailable 704 pub radroots_transport::Error::UnexpectedDeliveryTargetReceipt 705 pub radroots_transport::Error::UnexpectedFetchEvent 706 pub radroots_transport::Error::UnexpectedFetchProvenance 707 pub radroots_transport::Error::UnexpectedFetchTargetOutcome 708 pub radroots_transport::Error::UnexpectedSubscriptionCheckpoint 709 pub radroots_transport::Error::UnexpectedSubscriptionEvent 710 pub radroots_transport::Error::UnsupportedOperation 711 impl core::fmt::Display for radroots_transport::error::Error 712 pub fn radroots_transport::error::Error::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 713 pub enum radroots_transport::SubscriptionEndReason 714 pub radroots_transport::SubscriptionEndReason::Cancelled 715 pub radroots_transport::SubscriptionEndReason::Deadline 716 pub radroots_transport::SubscriptionEndReason::EventLimit 717 pub radroots_transport::SubscriptionEndReason::SourceClosed 718 pub enum radroots_transport::SubscriptionNext 719 pub radroots_transport::SubscriptionNext::End(radroots_transport::source::SubscriptionEnd) 720 pub radroots_transport::SubscriptionNext::Event(alloc::boxed::Box<radroots_transport::source::SubscriptionEvent>) 721 #[non_exhaustive] pub enum radroots_transport::TargetNetworkPolicy 722 pub radroots_transport::TargetNetworkPolicy::PrivateDevice 723 pub radroots_transport::TargetNetworkPolicy::TlsOrLoopback 724 pub struct radroots_transport::DeliveryReceipt 725 impl radroots_transport::sink::DeliveryReceipt 726 pub fn radroots_transport::sink::DeliveryReceipt::for_request(&radroots_transport::sink::DeliveryRequest, alloc::vec::Vec<radroots_transport::sink::DeliveryTargetReceipt>) -> core::result::Result<Self, radroots_transport::error::Error> 727 pub fn radroots_transport::sink::DeliveryReceipt::is_satisfied(&self, &radroots_transport::sink::DeliveryRequest) -> core::result::Result<bool, radroots_transport::error::Error> 728 pub const fn radroots_transport::sink::DeliveryReceipt::request_id(&self) -> &radroots_transport::sink::DeliveryRequestId 729 pub fn radroots_transport::sink::DeliveryReceipt::satisfaction(&self, &radroots_transport::sink::DeliveryRequest) -> core::result::Result<radroots_transport::policy::SatisfactionState, radroots_transport::error::Error> 730 pub fn radroots_transport::sink::DeliveryReceipt::target_receipts(&self) -> &[radroots_transport::sink::DeliveryTargetReceipt] 731 pub fn radroots_transport::sink::DeliveryReceipt::validate_for_request(&self, &radroots_transport::sink::DeliveryRequest) -> core::result::Result<(), radroots_transport::error::Error> 732 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::sink::DeliveryReceipt 733 pub fn radroots_transport::sink::DeliveryReceipt::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 734 pub struct radroots_transport::DeliveryRequest 735 impl radroots_transport::sink::DeliveryRequest 736 pub const fn radroots_transport::sink::DeliveryRequest::deadline_unix_ms(&self) -> u64 737 pub fn radroots_transport::sink::DeliveryRequest::new(impl core::convert::Into<alloc::string::String>, radroots_transport::sink::DeliveryPayload, radroots_transport::target::TargetSet, radroots_transport::policy::SatisfactionPolicy, u64) -> core::result::Result<Self, radroots_transport::error::Error> 738 pub const fn radroots_transport::sink::DeliveryRequest::payload(&self) -> &radroots_transport::sink::DeliveryPayload 739 pub const fn radroots_transport::sink::DeliveryRequest::request_id(&self) -> &radroots_transport::sink::DeliveryRequestId 740 pub const fn radroots_transport::sink::DeliveryRequest::satisfaction(&self) -> &radroots_transport::policy::SatisfactionPolicy 741 pub const fn radroots_transport::sink::DeliveryRequest::target_set(&self) -> &radroots_transport::target::TargetSet 742 pub fn radroots_transport::sink::DeliveryRequest::validate_target_selection(&self, &radroots_transport::target::TargetSet) -> core::result::Result<(), radroots_transport::error::Error> 743 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::sink::DeliveryRequest 744 pub fn radroots_transport::sink::DeliveryRequest::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 745 pub struct radroots_transport::FetchPage 746 impl radroots_transport::source::FetchPage 747 pub fn radroots_transport::source::FetchPage::events(&self) -> &[radroots_transport::source::ObservedEvent] 748 pub fn radroots_transport::source::FetchPage::for_request(&radroots_transport::source::FetchRequest, alloc::vec::Vec<radroots_transport::source::ObservedEvent>, alloc::vec::Vec<radroots_transport::outcome::FetchTargetOutcome>, radroots_transport::source::NextPage) -> core::result::Result<Self, radroots_transport::error::Error> 749 pub const fn radroots_transport::source::FetchPage::next_page(&self) -> &radroots_transport::source::NextPage 750 pub const fn radroots_transport::source::FetchPage::request_id(&self) -> &radroots_transport::source::FetchRequestId 751 pub fn radroots_transport::source::FetchPage::target_outcomes(&self) -> &[radroots_transport::outcome::FetchTargetOutcome] 752 pub fn radroots_transport::source::FetchPage::validate(&self) -> core::result::Result<(), radroots_transport::error::Error> 753 pub fn radroots_transport::source::FetchPage::validate_for_request(&self, &radroots_transport::source::FetchRequest) -> core::result::Result<(), radroots_transport::error::Error> 754 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::source::FetchPage 755 pub fn radroots_transport::source::FetchPage::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 756 pub struct radroots_transport::FetchRequest 757 impl radroots_transport::source::FetchRequest 758 pub const fn radroots_transport::source::FetchRequest::bounds(&self) -> radroots_transport::source::FetchBounds 759 pub fn radroots_transport::source::FetchRequest::cursor(&self) -> core::option::Option<&radroots_transport::source::FetchCursor> 760 pub fn radroots_transport::source::FetchRequest::new(impl core::convert::Into<alloc::string::String>, radroots_transport::target::TargetSet, radroots_transport::source::FetchBounds) -> core::result::Result<Self, radroots_transport::error::Error> 761 pub fn radroots_transport::source::FetchRequest::request_id(&self) -> &radroots_transport::source::FetchRequestId 762 pub const fn radroots_transport::source::FetchRequest::selector(&self) -> &radroots_transport::source::FetchSelector 763 pub fn radroots_transport::source::FetchRequest::target_set(&self) -> &radroots_transport::target::TargetSet 764 pub fn radroots_transport::source::FetchRequest::with_cursor(self, radroots_transport::source::FetchCursor) -> Self 765 pub fn radroots_transport::source::FetchRequest::with_selector(self, radroots_transport::source::FetchSelector) -> Self 766 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::source::FetchRequest 767 pub fn radroots_transport::source::FetchRequest::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 768 pub struct radroots_transport::SinkFailure 769 impl radroots_transport::sink::SinkFailure 770 pub fn radroots_transport::sink::SinkFailure::code(&self) -> &str 771 pub fn radroots_transport::sink::SinkFailure::for_request(&radroots_transport::sink::DeliveryRequest, impl core::convert::Into<alloc::string::String>, radroots_transport::outcome::Retryability, core::option::Option<u64>, core::option::Option<alloc::string::String>, alloc::vec::Vec<radroots_transport::sink::DeliveryTargetReceipt>) -> core::result::Result<Self, radroots_transport::error::Error> 772 pub fn radroots_transport::sink::SinkFailure::invalid_contract(&radroots_transport::sink::DeliveryRequest) -> Self 773 pub fn radroots_transport::sink::SinkFailure::message(&self) -> core::option::Option<&str> 774 pub fn radroots_transport::sink::SinkFailure::partial_evidence(&self) -> &[radroots_transport::sink::DeliveryTargetReceipt] 775 pub const fn radroots_transport::sink::SinkFailure::retry_after_unix_ms(&self) -> core::option::Option<u64> 776 pub const fn radroots_transport::sink::SinkFailure::retryability(&self) -> radroots_transport::outcome::Retryability 777 pub fn radroots_transport::sink::SinkFailure::transport_closed(&radroots_transport::sink::DeliveryRequest) -> Self 778 pub fn radroots_transport::sink::SinkFailure::transport_unavailable(&radroots_transport::sink::DeliveryRequest) -> Self 779 pub fn radroots_transport::sink::SinkFailure::validate_for_request(&self, &radroots_transport::sink::DeliveryRequest) -> core::result::Result<(), radroots_transport::error::Error> 780 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::sink::SinkFailure 781 pub fn radroots_transport::sink::SinkFailure::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 782 pub struct radroots_transport::SinkStatus 783 impl radroots_transport::SinkStatus 784 pub const fn radroots_transport::SinkStatus::availability(&self) -> radroots_transport::capability::Availability 785 pub const fn radroots_transport::SinkStatus::capabilities(&self) -> radroots_transport::capability::SinkCapabilities 786 pub fn radroots_transport::SinkStatus::from_descriptor(&radroots_protocol::capability::v1::TransportDescriptor, bool, impl core::convert::Into<alloc::string::String>) -> Self 787 pub const fn radroots_transport::SinkStatus::is_configured(&self) -> bool 788 pub const fn radroots_transport::SinkStatus::maturity(&self) -> radroots_transport::capability::Maturity 789 pub fn radroots_transport::SinkStatus::message(&self) -> &str 790 pub fn radroots_transport::SinkStatus::new(radroots_transport::TransportId, bool, radroots_transport::capability::Maturity, radroots_transport::capability::Availability, radroots_transport::capability::SinkCapabilities, impl core::convert::Into<alloc::string::String>) -> Self 791 pub const fn radroots_transport::SinkStatus::transport_id(&self) -> radroots_transport::TransportId 792 pub struct radroots_transport::SourceStatus 793 impl radroots_transport::SourceStatus 794 pub const fn radroots_transport::SourceStatus::availability(&self) -> radroots_transport::capability::Availability 795 pub const fn radroots_transport::SourceStatus::capabilities(&self) -> radroots_transport::capability::SourceCapabilities 796 pub fn radroots_transport::SourceStatus::from_descriptor(&radroots_protocol::capability::v1::TransportDescriptor, bool, impl core::convert::Into<alloc::string::String>) -> Self 797 pub const fn radroots_transport::SourceStatus::is_configured(&self) -> bool 798 pub const fn radroots_transport::SourceStatus::maturity(&self) -> radroots_transport::capability::Maturity 799 pub fn radroots_transport::SourceStatus::message(&self) -> &str 800 pub fn radroots_transport::SourceStatus::new(radroots_transport::TransportId, bool, radroots_transport::capability::Maturity, radroots_transport::capability::Availability, radroots_transport::capability::SourceCapabilities, impl core::convert::Into<alloc::string::String>) -> Self 801 pub const fn radroots_transport::SourceStatus::transport_id(&self) -> radroots_transport::TransportId 802 pub struct radroots_transport::SubscriptionEnd 803 impl radroots_transport::source::SubscriptionEnd 804 pub fn radroots_transport::source::SubscriptionEnd::checkpoints(&self) -> &[radroots_transport::source::SubscriptionCheckpoint] 805 pub const fn radroots_transport::source::SubscriptionEnd::event_count(&self) -> u16 806 pub fn radroots_transport::source::SubscriptionEnd::for_request<I>(&radroots_transport::source::SubscriptionRequest, u16, I, radroots_transport::source::SubscriptionEndReason) -> core::result::Result<Self, radroots_transport::error::Error> where I: core::iter::traits::collect::IntoIterator<Item = radroots_transport::source::SubscriptionCheckpoint> 807 pub const fn radroots_transport::source::SubscriptionEnd::reason(&self) -> radroots_transport::source::SubscriptionEndReason 808 pub const fn radroots_transport::source::SubscriptionEnd::request(&self) -> &radroots_transport::source::SubscriptionRequest 809 pub fn radroots_transport::source::SubscriptionEnd::validate_for_request(&self, &radroots_transport::source::SubscriptionRequest) -> core::result::Result<(), radroots_transport::error::Error> 810 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::source::SubscriptionEnd 811 pub fn radroots_transport::source::SubscriptionEnd::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 812 pub struct radroots_transport::SubscriptionEvent 813 impl radroots_transport::source::SubscriptionEvent 814 pub const fn radroots_transport::source::SubscriptionEvent::checkpoint(&self) -> &radroots_transport::source::SubscriptionCheckpoint 815 pub fn radroots_transport::source::SubscriptionEvent::for_request(&radroots_transport::source::SubscriptionRequest, radroots_transport::source::ObservedEvent, radroots_transport::source::SubscriptionCheckpoint) -> core::result::Result<Self, radroots_transport::error::Error> 816 pub const fn radroots_transport::source::SubscriptionEvent::observed(&self) -> &radroots_transport::source::ObservedEvent 817 pub const fn radroots_transport::source::SubscriptionEvent::request(&self) -> &radroots_transport::source::SubscriptionRequest 818 pub const fn radroots_transport::source::SubscriptionEvent::request_id(&self) -> &radroots_transport::source::SubscriptionRequestId 819 pub fn radroots_transport::source::SubscriptionEvent::validate_for_request(&self, &radroots_transport::source::SubscriptionRequest) -> core::result::Result<(), radroots_transport::error::Error> 820 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::source::SubscriptionEvent 821 pub fn radroots_transport::source::SubscriptionEvent::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 822 pub struct radroots_transport::SubscriptionRequest 823 impl radroots_transport::source::SubscriptionRequest 824 pub const fn radroots_transport::source::SubscriptionRequest::bounds(&self) -> radroots_transport::source::SubscriptionBounds 825 pub fn radroots_transport::source::SubscriptionRequest::checkpoints(&self) -> &[radroots_transport::source::SubscriptionCheckpoint] 826 pub fn radroots_transport::source::SubscriptionRequest::new(impl core::convert::AsRef<str>, radroots_transport::target::TargetSet, radroots_transport::source::SubscriptionBounds) -> core::result::Result<Self, radroots_transport::error::Error> 827 pub const fn radroots_transport::source::SubscriptionRequest::request_id(&self) -> &radroots_transport::source::SubscriptionRequestId 828 pub const fn radroots_transport::source::SubscriptionRequest::selector(&self) -> &radroots_transport::source::FetchSelector 829 pub const fn radroots_transport::source::SubscriptionRequest::target_set(&self) -> &radroots_transport::target::TargetSet 830 pub fn radroots_transport::source::SubscriptionRequest::with_checkpoints<I>(self, I) -> core::result::Result<Self, radroots_transport::error::Error> where I: core::iter::traits::collect::IntoIterator<Item = radroots_transport::source::SubscriptionCheckpoint> 831 pub fn radroots_transport::source::SubscriptionRequest::with_selector(self, radroots_transport::source::FetchSelector) -> Self 832 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::source::SubscriptionRequest 833 pub fn radroots_transport::source::SubscriptionRequest::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 834 pub struct radroots_transport::Target 835 impl radroots_transport::target::Target 836 pub fn radroots_transport::target::Target::fingerprint(&self) -> &radroots_transport::target::TargetFingerprint 837 pub fn radroots_transport::target::Target::kind(&self) -> &radroots_transport::TransportId 838 pub fn radroots_transport::target::Target::label(&self) -> core::option::Option<&radroots_transport::target::TargetLabel> 839 pub fn radroots_transport::target::Target::local(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_transport::error::Error> 840 pub fn radroots_transport::target::Target::local_with_metadata(impl core::convert::AsRef<str>, core::option::Option<radroots_transport::target::TargetScope>, core::option::Option<radroots_transport::target::TargetLabel>) -> core::result::Result<Self, radroots_transport::error::Error> 841 pub fn radroots_transport::target::Target::matches_nostr_relay(&self, &str) -> core::result::Result<bool, radroots_transport::error::Error> 842 pub fn radroots_transport::target::Target::new(radroots_transport::TransportId, impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_transport::error::Error> 843 pub fn radroots_transport::target::Target::new_with_metadata(radroots_transport::TransportId, impl core::convert::AsRef<str>, core::option::Option<radroots_transport::target::TargetScope>, core::option::Option<radroots_transport::target::TargetLabel>) -> core::result::Result<Self, radroots_transport::error::Error> 844 pub fn radroots_transport::target::Target::nostr_relay(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_transport::error::Error> 845 pub fn radroots_transport::target::Target::nostr_relay_with_metadata(impl core::convert::AsRef<str>, core::option::Option<radroots_transport::target::TargetScope>, core::option::Option<radroots_transport::target::TargetLabel>) -> core::result::Result<Self, radroots_transport::error::Error> 846 pub fn radroots_transport::target::Target::nostr_relay_with_policy(impl core::convert::AsRef<str>, radroots_transport::target::TargetNetworkPolicy) -> core::result::Result<Self, radroots_transport::error::Error> 847 pub fn radroots_transport::target::Target::scope(&self) -> core::option::Option<&radroots_transport::target::TargetScope> 848 pub fn radroots_transport::target::Target::uri(&self) -> &radroots_transport::target::EndpointUri 849 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::target::Target 850 pub fn radroots_transport::target::Target::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 851 pub struct radroots_transport::TargetSet 852 impl radroots_transport::target::TargetSet 853 pub fn radroots_transport::target::TargetSet::contains(&self, &radroots_transport::target::TargetFingerprint) -> bool 854 pub fn radroots_transport::target::TargetSet::is_empty(&self) -> bool 855 pub fn radroots_transport::target::TargetSet::len(&self) -> usize 856 pub fn radroots_transport::target::TargetSet::new(alloc::vec::Vec<radroots_transport::target::Target>) -> core::result::Result<Self, radroots_transport::error::Error> 857 pub fn radroots_transport::target::TargetSet::targets(&self) -> &[radroots_transport::target::Target] 858 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::target::TargetSet 859 pub fn radroots_transport::target::TargetSet::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 860 pub struct radroots_transport::TransportId(_) 861 impl radroots_transport::TransportId 862 pub const radroots_transport::TransportId::LOCAL: Self 863 pub const radroots_transport::TransportId::NOSTR: Self 864 pub const radroots_transport::TransportId::RADROOTSD: Self 865 pub const radroots_transport::TransportId::RETICULUM: Self 866 pub fn radroots_transport::TransportId::as_str(&self) -> &str 867 pub fn radroots_transport::TransportId::canonical_label(&self) -> alloc::string::String 868 pub fn radroots_transport::TransportId::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_transport::error::Error> 869 pub fn radroots_transport::TransportId::parse_canonical(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_transport::error::Error> 870 impl core::convert::AsRef<str> for radroots_transport::TransportId 871 pub fn radroots_transport::TransportId::as_ref(&self) -> &str 872 impl core::convert::From<radroots_protocol::capability::v1::TransportKind> for radroots_transport::TransportId 873 pub fn radroots_transport::TransportId::from(radroots_protocol::capability::v1::TransportKind) -> Self 874 impl core::convert::From<radroots_transport::TransportId> for radroots_protocol::capability::v1::TransportKind 875 pub fn radroots_protocol::capability::v1::TransportKind::from(radroots_transport::TransportId) -> Self 876 impl core::convert::TryFrom<&str> for radroots_transport::TransportId 877 pub type radroots_transport::TransportId::Error = radroots_transport::error::Error 878 pub fn radroots_transport::TransportId::try_from(&str) -> core::result::Result<Self, Self::Error> 879 impl core::convert::TryFrom<alloc::string::String> for radroots_transport::TransportId 880 pub type radroots_transport::TransportId::Error = radroots_transport::error::Error 881 pub fn radroots_transport::TransportId::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 882 impl core::fmt::Display for radroots_transport::TransportId 883 pub fn radroots_transport::TransportId::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 884 impl core::str::traits::FromStr for radroots_transport::TransportId 885 pub type radroots_transport::TransportId::Err = radroots_transport::error::Error 886 pub fn radroots_transport::TransportId::from_str(&str) -> core::result::Result<Self, Self::Err> 887 impl serde_core::ser::Serialize for radroots_transport::TransportId 888 pub fn radroots_transport::TransportId::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 889 impl<'de> serde_core::de::Deserialize<'de> for radroots_transport::TransportId 890 pub fn radroots_transport::TransportId::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 891 pub const radroots_transport::TARGET_SET_MAX_ITEMS: usize 892 pub const radroots_transport::TRANSPORT_ID_MAX_BYTES: usize 893 pub trait radroots_transport::EventSink: radroots_transport::host::HostBound 894 pub fn radroots_transport::EventSink::deliver(&self, radroots_transport::sink::DeliveryRequest) -> radroots_transport::source::BoxFuture<'_, core::result::Result<radroots_transport::sink::DeliveryReceipt, radroots_transport::sink::SinkFailure>> 895 pub fn radroots_transport::EventSink::deliver_selected(&self, radroots_transport::sink::DeliveryRequest, radroots_transport::target::TargetSet) -> radroots_transport::source::BoxFuture<'_, core::result::Result<radroots_transport::sink::DeliveryReceipt, radroots_transport::sink::SinkFailure>> 896 pub fn radroots_transport::EventSink::status(&self) -> radroots_transport::source::BoxFuture<'_, core::result::Result<radroots_transport::SinkStatus, radroots_transport::error::Error>> 897 pub trait radroots_transport::EventSource: radroots_transport::host::HostBound 898 pub fn radroots_transport::EventSource::fetch(&self, radroots_transport::source::FetchRequest) -> radroots_transport::source::BoxFuture<'_, core::result::Result<radroots_transport::source::FetchPage, radroots_transport::error::Error>> 899 pub fn radroots_transport::EventSource::status(&self) -> radroots_transport::source::BoxFuture<'_, core::result::Result<radroots_transport::SourceStatus, radroots_transport::error::Error>> 900 pub trait radroots_transport::EventSubscriber: radroots_transport::host::HostBound 901 pub fn radroots_transport::EventSubscriber::subscribe(&self, radroots_transport::source::SubscriptionRequest) -> radroots_transport::source::BoxFuture<'_, core::result::Result<radroots_transport::source::BoxSubscription, radroots_transport::error::Error>> 902 pub trait radroots_transport::EventSubscription: radroots_transport::host::MoveBound 903 pub fn radroots_transport::EventSubscription::cancel(&mut self) -> radroots_transport::source::BoxFuture<'_, core::result::Result<radroots_transport::source::SubscriptionEnd, radroots_transport::error::Error>> 904 pub fn radroots_transport::EventSubscription::next(&mut self) -> radroots_transport::source::BoxFuture<'_, core::result::Result<radroots_transport::source::SubscriptionNext, radroots_transport::error::Error>> 905 pub fn radroots_transport::EventSubscription::request(&self) -> &radroots_transport::source::SubscriptionRequest 906 pub type radroots_transport::BoxFuture<'a, T> = core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = T> + core::marker::Send + 'a)>> 907 pub type radroots_transport::BoxSubscription = alloc::boxed::Box<dyn radroots_transport::source::EventSubscription>