diff --git a/pr/323/docs/help.html b/pr/323/docs/help.html index 2565ad385..99d8cb979 100644 --- a/pr/323/docs/help.html +++ b/pr/323/docs/help.html @@ -1 +1 @@ -
pub enum ConnectionError {
+ConnectionError in iroh_quinn - Rust ConnectionError
pub enum ConnectionError {
VersionMismatch,
TransportError(Error),
ConnectionClosed(ConnectionClose),
@@ -20,8 +20,8 @@ and §LocallyClosed
The local application closed the connection
§CidsExhausted
The connection could not be created because not enough of the CID space is available
Try using longer connection IDs.
-Trait Implementations§
Source§impl Clone for ConnectionError
Source§fn clone(&self) -> ConnectionError
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for ConnectionError
Source§impl Display for ConnectionError
Source§impl Error for ConnectionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Source§impl From<Close> for ConnectionError
Source§fn from(x: Close) -> ConnectionError
Converts to this type from the input type.Source§impl From<CloseReason> for ConnectionError
Source§fn from(value: CloseReason) -> ConnectionError
Converts to this type from the input type.Source§impl From<ConnectionError> for ReadError
Source§fn from(source: ConnectionError) -> Self
Converts to this type from the input type.Source§impl From<ConnectionError> for ResetError
Source§fn from(source: ConnectionError) -> Self
Converts to this type from the input type.Source§impl From<ConnectionError> for SendDatagramError
Source§fn from(source: ConnectionError) -> Self
Converts to this type from the input type.Source§impl From<ConnectionError> for StoppedError
Source§fn from(source: ConnectionError) -> Self
Converts to this type from the input type.Source§impl From<ConnectionError> for WriteError
Source§fn from(source: ConnectionError) -> Self
Converts to this type from the input type.Source§impl From<Error> for ConnectionError
Source§fn from(source: Error) -> ConnectionError
Converts to this type from the input type.Source§impl PartialEq for ConnectionError
Source§impl Eq for ConnectionError
Source§impl StructuralPartialEq for ConnectionError
Auto Trait Implementations§
§impl !Freeze for ConnectionError
§impl !RefUnwindSafe for ConnectionError
§impl Send for ConnectionError
§impl Sync for ConnectionError
§impl Unpin for ConnectionError
§impl !UnwindSafe for ConnectionError
Blanket Implementations§
Trait Implementations§
Source§impl Clone for ConnectionError
Source§fn clone(&self) -> ConnectionError
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for ConnectionError
Source§impl Display for ConnectionError
Source§impl Error for ConnectionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Source§impl From<Close> for ConnectionError
Source§fn from(x: Close) -> ConnectionError
Converts to this type from the input type.Source§impl From<CloseReason> for ConnectionError
Source§fn from(value: CloseReason) -> ConnectionError
Converts to this type from the input type.Source§impl From<ConnectionError> for ReadError
Source§fn from(source: ConnectionError) -> Self
Converts to this type from the input type.Source§impl From<ConnectionError> for ResetError
Source§fn from(source: ConnectionError) -> Self
Converts to this type from the input type.Source§impl From<ConnectionError> for SendDatagramError
Source§fn from(source: ConnectionError) -> Self
Converts to this type from the input type.Source§impl From<ConnectionError> for StoppedError
Source§fn from(source: ConnectionError) -> Self
Converts to this type from the input type.Source§impl From<ConnectionError> for WriteError
Source§fn from(source: ConnectionError) -> Self
Converts to this type from the input type.Source§impl From<Error> for ConnectionError
Source§fn from(source: Error) -> ConnectionError
Converts to this type from the input type.Source§impl PartialEq for ConnectionError
Source§impl Eq for ConnectionError
Source§impl StructuralPartialEq for ConnectionError
Auto Trait Implementations§
§impl !Freeze for ConnectionError
§impl !RefUnwindSafe for ConnectionError
§impl Send for ConnectionError
§impl Sync for ConnectionError
§impl Unpin for ConnectionError
§impl !UnwindSafe for ConnectionError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/pr/323/docs/iroh_quinn/enum.FrameType.html b/pr/323/docs/iroh_quinn/enum.FrameType.html
index c28f19a5c..007d96e36 100644
--- a/pr/323/docs/iroh_quinn/enum.FrameType.html
+++ b/pr/323/docs/iroh_quinn/enum.FrameType.html
@@ -1,4 +1,4 @@
-FrameType in iroh_quinn - Rust FrameType
pub enum FrameType {
+FrameType in iroh_quinn - Rust FrameType
pub enum FrameType {
Show 44 variants
Padding,
Ping,
Ack,
@@ -43,10 +43,10 @@
ReachOutAtIpv4,
ReachOutAtIpv6,
RemoveAddress,
-}
Variants§
§Padding
§Ping
§Ack
§AckEcn
§ResetStream
§StopSending
§Crypto
§NewToken
§Stream(StreamInfo)
§MaxData
§MaxStreamData
§MaxStreamsBidi
§MaxStreamsUni
§DataBlocked
§StreamDataBlocked
§StreamsBlockedBidi
§StreamsBlockedUni
§NewConnectionId
§RetireConnectionId
§PathChallenge
§PathResponse
§ConnectionClose
§ApplicationClose
§HandshakeDone
§AckFrequency
§ImmediateAck
§Datagram(DatagramInfo)
§ObservedIpv4Addr
§ObservedIpv6Addr
§PathAck
§PathAckEcn
§PathAbandon
§PathStatusBackup
§PathStatusAvailable
§PathNewConnectionId
§PathRetireConnectionId
§MaxPathId
§PathsBlocked
§PathCidsBlocked
§AddIpv4Address
§AddIpv6Address
§ReachOutAtIpv4
§ReachOutAtIpv6
§RemoveAddress
Trait Implementations§
Source§impl Copy for FrameType
Source§impl Eq for FrameType
Source§impl StructuralPartialEq for FrameType
Auto Trait Implementations§
§impl Freeze for FrameType
§impl RefUnwindSafe for FrameType
§impl Send for FrameType
§impl Sync for FrameType
§impl Unpin for FrameType
§impl UnwindSafe for FrameType
Blanket Implementations§
Source§impl<T> Any for Twhere
+}Variants§
§Padding
§Ping
§Ack
§AckEcn
§ResetStream
§StopSending
§Crypto
§NewToken
§Stream(StreamInfo)
§MaxData
§MaxStreamData
§MaxStreamsBidi
§MaxStreamsUni
§DataBlocked
§StreamDataBlocked
§StreamsBlockedBidi
§StreamsBlockedUni
§NewConnectionId
§RetireConnectionId
§PathChallenge
§PathResponse
§ConnectionClose
§ApplicationClose
§HandshakeDone
§AckFrequency
§ImmediateAck
§Datagram(DatagramInfo)
§ObservedIpv4Addr
§ObservedIpv6Addr
§PathAck
§PathAckEcn
§PathAbandon
§PathStatusBackup
§PathStatusAvailable
§PathNewConnectionId
§PathRetireConnectionId
§MaxPathId
§PathsBlocked
§PathCidsBlocked
§AddIpv4Address
§AddIpv6Address
§ReachOutAtIpv4
§ReachOutAtIpv6
§RemoveAddress
Trait Implementations§
Source§impl Copy for FrameType
Source§impl Eq for FrameType
Source§impl StructuralPartialEq for FrameType
Auto Trait Implementations§
§impl Freeze for FrameType
§impl RefUnwindSafe for FrameType
§impl Send for FrameType
§impl Sync for FrameType
§impl Unpin for FrameType
§impl UnwindSafe for FrameType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/pr/323/docs/iroh_quinn/struct.ApplicationClose.html b/pr/323/docs/iroh_quinn/struct.ApplicationClose.html
index bb5b19c66..d9be55fa4 100644
--- a/pr/323/docs/iroh_quinn/struct.ApplicationClose.html
+++ b/pr/323/docs/iroh_quinn/struct.ApplicationClose.html
@@ -1,11 +1,11 @@
-ApplicationClose in iroh_quinn - Rust ApplicationClose
pub struct ApplicationClose {
+ApplicationClose in iroh_quinn - Rust ApplicationClose
pub struct ApplicationClose {
pub error_code: VarInt,
pub reason: Bytes,
}
Expand description
Reason given by an application for closing the connection
Fields§
§error_code: VarIntApplication-specific reason code
§reason: BytesHuman-readable reason for the close
-Trait Implementations§
Source§impl Clone for ApplicationClose
Source§fn clone(&self) -> ApplicationClose
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for ApplicationClose
Source§impl Display for ApplicationClose
Source§impl PartialEq for ApplicationClose
Source§impl Eq for ApplicationClose
Source§impl StructuralPartialEq for ApplicationClose
Auto Trait Implementations§
§impl !Freeze for ApplicationClose
§impl RefUnwindSafe for ApplicationClose
§impl Send for ApplicationClose
§impl Sync for ApplicationClose
§impl Unpin for ApplicationClose
§impl UnwindSafe for ApplicationClose
Blanket Implementations§
Source§impl<T> Any for Twhere
+Trait Implementations§
Source§impl Clone for ApplicationClose
Source§fn clone(&self) -> ApplicationClose
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for ApplicationClose
Source§impl Display for ApplicationClose
Source§impl PartialEq for ApplicationClose
Source§impl Eq for ApplicationClose
Source§impl StructuralPartialEq for ApplicationClose
Auto Trait Implementations§
§impl !Freeze for ApplicationClose
§impl RefUnwindSafe for ApplicationClose
§impl Send for ApplicationClose
§impl Sync for ApplicationClose
§impl Unpin for ApplicationClose
§impl UnwindSafe for ApplicationClose
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/pr/323/docs/iroh_quinn/struct.ConnectionClose.html b/pr/323/docs/iroh_quinn/struct.ConnectionClose.html
index 853926ce5..7e905013f 100644
--- a/pr/323/docs/iroh_quinn/struct.ConnectionClose.html
+++ b/pr/323/docs/iroh_quinn/struct.ConnectionClose.html
@@ -1,4 +1,4 @@
-ConnectionClose in iroh_quinn - Rust ConnectionClose
pub struct ConnectionClose {
+ConnectionClose in iroh_quinn - Rust ConnectionClose
pub struct ConnectionClose {
pub error_code: Code,
pub frame_type: MaybeFrame,
pub reason: Bytes,
@@ -6,8 +6,8 @@
Fields§
§error_code: CodeClass of error as encoded in the specification
§frame_type: MaybeFrameType of frame that caused the close
§reason: BytesHuman-readable reason for the close
-Trait Implementations§
Source§impl Clone for ConnectionClose
Source§fn clone(&self) -> ConnectionClose
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for ConnectionClose
Source§impl Display for ConnectionClose
Source§impl From<Error> for ConnectionClose
Source§fn from(x: Error) -> ConnectionClose
Converts to this type from the input type.Source§impl PartialEq for ConnectionClose
Source§impl Eq for ConnectionClose
Source§impl StructuralPartialEq for ConnectionClose
Auto Trait Implementations§
§impl !Freeze for ConnectionClose
§impl RefUnwindSafe for ConnectionClose
§impl Send for ConnectionClose
§impl Sync for ConnectionClose
§impl Unpin for ConnectionClose
§impl UnwindSafe for ConnectionClose
Blanket Implementations§
Source§impl<T> Any for Twhere
+Trait Implementations§
Source§impl Clone for ConnectionClose
Source§fn clone(&self) -> ConnectionClose
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for ConnectionClose
Source§impl Display for ConnectionClose
Source§impl From<Error> for ConnectionClose
Source§fn from(x: Error) -> ConnectionClose
Converts to this type from the input type.Source§impl PartialEq for ConnectionClose
Source§impl Eq for ConnectionClose
Source§impl StructuralPartialEq for ConnectionClose
Auto Trait Implementations§
§impl !Freeze for ConnectionClose
§impl RefUnwindSafe for ConnectionClose
§impl Send for ConnectionClose
§impl Sync for ConnectionClose
§impl Unpin for ConnectionClose
§impl UnwindSafe for ConnectionClose
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/pr/323/docs/iroh_quinn/struct.ConnectionStats.html b/pr/323/docs/iroh_quinn/struct.ConnectionStats.html
index fc80eb173..1e1861283 100644
--- a/pr/323/docs/iroh_quinn/struct.ConnectionStats.html
+++ b/pr/323/docs/iroh_quinn/struct.ConnectionStats.html
@@ -1,4 +1,4 @@
-ConnectionStats in iroh_quinn - Rust ConnectionStats
#[non_exhaustive]pub struct ConnectionStats {
+ConnectionStats in iroh_quinn - Rust ConnectionStats
#[non_exhaustive]pub struct ConnectionStats {
pub udp_tx: UdpStats,
pub udp_rx: UdpStats,
pub frame_tx: FrameStats,
@@ -8,7 +8,7 @@
§udp_rx: UdpStatsStatistics about UDP datagrams received on a connection
§frame_tx: FrameStatsStatistics about frames transmitted on a connection
§frame_rx: FrameStatsStatistics about frames received on a connection
-Trait Implementations§
Source§impl Clone for ConnectionStats
Source§fn clone(&self) -> ConnectionStats
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for ConnectionStats
Source§impl Default for ConnectionStats
Source§fn default() -> ConnectionStats
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl Freeze for ConnectionStats
§impl RefUnwindSafe for ConnectionStats
§impl Send for ConnectionStats
§impl Sync for ConnectionStats
§impl Unpin for ConnectionStats
§impl UnwindSafe for ConnectionStats
Blanket Implementations§
Source§impl<T> Any for Twhere
+Trait Implementations§
Source§impl Clone for ConnectionStats
Source§fn clone(&self) -> ConnectionStats
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for ConnectionStats
Source§impl Default for ConnectionStats
Source§fn default() -> ConnectionStats
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl Freeze for ConnectionStats
§impl RefUnwindSafe for ConnectionStats
§impl Send for ConnectionStats
§impl Sync for ConnectionStats
§impl Unpin for ConnectionStats
§impl UnwindSafe for ConnectionStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/pr/323/docs/iroh_quinn/struct.FrameStats.html b/pr/323/docs/iroh_quinn/struct.FrameStats.html
index a3dea813e..408d19ae8 100644
--- a/pr/323/docs/iroh_quinn/struct.FrameStats.html
+++ b/pr/323/docs/iroh_quinn/struct.FrameStats.html
@@ -37,7 +37,7 @@
pub reach_out: u64,
pub remove_address: u64,
}Expand description
Number of frames transmitted or received of each frame type
-Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.§acks: u64§path_acks: u64§ack_frequency: u64§crypto: u64§connection_close: u64§data_blocked: u64§datagram: u64§handshake_done: u8§immediate_ack: u64§max_data: u64§max_stream_data: u64§max_streams_bidi: u64§max_streams_uni: u64§new_connection_id: u64§path_new_connection_id: u64§new_token: u64§path_challenge: u64§path_response: u64§ping: u64§reset_stream: u64§retire_connection_id: u64§path_retire_connection_id: u64§stream_data_blocked: u64§streams_blocked_bidi: u64§streams_blocked_uni: u64§stop_sending: u64§stream: u64§observed_addr: u64§path_abandon: u64§path_status_available: u64§path_status_backup: u64§max_path_id: u64§paths_blocked: u64§path_cids_blocked: u64§add_address: u64§reach_out: u64§remove_address: u64Trait Implementations§
Source§impl Clone for FrameStats
Source§fn clone(&self) -> FrameStats
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for FrameStats
Source§impl Default for FrameStats
Source§fn default() -> FrameStats
Returns the “default value” for a type. Read moreSource§impl Copy for FrameStats
Auto Trait Implementations§
§impl Freeze for FrameStats
§impl RefUnwindSafe for FrameStats
§impl Send for FrameStats
§impl Sync for FrameStats
§impl Unpin for FrameStats
§impl UnwindSafe for FrameStats
Blanket Implementations§
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.§acks: u64§path_acks: u64§ack_frequency: u64§crypto: u64§connection_close: u64§data_blocked: u64§datagram: u64§handshake_done: u8§immediate_ack: u64§max_data: u64§max_stream_data: u64§max_streams_bidi: u64§max_streams_uni: u64§new_connection_id: u64§path_new_connection_id: u64§new_token: u64§path_challenge: u64§path_response: u64§ping: u64§reset_stream: u64§retire_connection_id: u64§path_retire_connection_id: u64§stream_data_blocked: u64§streams_blocked_bidi: u64§streams_blocked_uni: u64§stop_sending: u64§stream: u64§observed_addr: u64§path_abandon: u64§path_status_available: u64§path_status_backup: u64§max_path_id: u64§paths_blocked: u64§path_cids_blocked: u64§add_address: u64§reach_out: u64§remove_address: u64Trait Implementations§
Source§impl Clone for FrameStats
Source§fn clone(&self) -> FrameStats
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for FrameStats
Source§impl Default for FrameStats
Source§fn default() -> FrameStats
Returns the “default value” for a type. Read moreSource§impl Copy for FrameStats
Auto Trait Implementations§
§impl Freeze for FrameStats
§impl RefUnwindSafe for FrameStats
§impl Send for FrameStats
§impl Sync for FrameStats
§impl Unpin for FrameStats
§impl UnwindSafe for FrameStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/pr/323/docs/iroh_quinn/struct.PathStats.html b/pr/323/docs/iroh_quinn/struct.PathStats.html
index 3a25ec205..2726c623f 100644
--- a/pr/323/docs/iroh_quinn/struct.PathStats.html
+++ b/pr/323/docs/iroh_quinn/struct.PathStats.html
@@ -1,4 +1,4 @@
-PathStats in iroh_quinn - Rust PathStats
#[non_exhaustive]pub struct PathStats {
+PathStats in iroh_quinn - Rust PathStats
#[non_exhaustive]pub struct PathStats {
pub rtt: Duration,
pub cwnd: u64,
pub congestion_events: u64,
@@ -21,8 +21,8 @@
lost_bytes)
§black_holes_detected: u64The number of times a black hole was detected in the path
§current_mtu: u16Largest UDP payload size the path currently supports
-Trait Implementations§
Source§impl Copy for PathStats
Source§impl Eq for PathStats
Source§impl StructuralPartialEq for PathStats
Auto Trait Implementations§
§impl Freeze for PathStats
§impl RefUnwindSafe for PathStats
§impl Send for PathStats
§impl Sync for PathStats
§impl Unpin for PathStats
§impl UnwindSafe for PathStats
Blanket Implementations§
Source§impl<T> Any for Twhere
+Trait Implementations§
Source§impl Copy for PathStats
Source§impl Eq for PathStats
Source§impl StructuralPartialEq for PathStats
Auto Trait Implementations§
§impl Freeze for PathStats
§impl RefUnwindSafe for PathStats
§impl Send for PathStats
§impl Sync for PathStats
§impl Unpin for PathStats
§impl UnwindSafe for PathStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/pr/323/docs/iroh_quinn_proto/coding/struct.UnexpectedEnd.html b/pr/323/docs/iroh_quinn_proto/coding/struct.UnexpectedEnd.html
index a11ef9651..672327fe0 100644
--- a/pr/323/docs/iroh_quinn_proto/coding/struct.UnexpectedEnd.html
+++ b/pr/323/docs/iroh_quinn_proto/coding/struct.UnexpectedEnd.html
@@ -1,5 +1,5 @@
UnexpectedEnd in iroh_quinn_proto::coding - Rust UnexpectedEnd
pub struct UnexpectedEnd;
Expand description
Error indicating that the provided buffer was too small
-Trait Implementations§
Source§impl Clone for UnexpectedEnd
Source§fn clone(&self) -> UnexpectedEnd
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for UnexpectedEnd
Source§impl Display for UnexpectedEnd
Source§impl Error for UnexpectedEnd
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Source§impl From<UnexpectedEnd> for Error
Source§fn from(_: UnexpectedEnd) -> Self
Converts to this type from the input type.Source§impl From<UnexpectedEnd> for PacketDecodeError
Source§fn from(_: UnexpectedEnd) -> Self
Converts to this type from the input type.Source§impl PartialEq for UnexpectedEnd
Source§fn eq(&self, other: &UnexpectedEnd) -> bool
Tests for self and other values to be equal, and is used by ==.1.0.0 · Source§fn ne(&self, other: &Rhs) -> bool
Tests for !=. The default implementation is almost always sufficient,
+Trait Implementations§
Source§impl Clone for UnexpectedEnd
Source§fn clone(&self) -> UnexpectedEnd
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for UnexpectedEnd
Source§impl Display for UnexpectedEnd
Source§impl Error for UnexpectedEnd
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Source§impl From<UnexpectedEnd> for Error
Source§fn from(_: UnexpectedEnd) -> Self
Converts to this type from the input type.Source§impl From<UnexpectedEnd> for PacketDecodeError
Source§fn from(_: UnexpectedEnd) -> Self
Converts to this type from the input type.Source§impl PartialEq for UnexpectedEnd
Source§impl Copy for UnexpectedEnd
Source§impl Eq for UnexpectedEnd
Source§impl StructuralPartialEq for UnexpectedEnd
Auto Trait Implementations§
§impl Freeze for UnexpectedEnd
§impl RefUnwindSafe for UnexpectedEnd
§impl Send for UnexpectedEnd
§impl Sync for UnexpectedEnd
§impl Unpin for UnexpectedEnd
§impl UnwindSafe for UnexpectedEnd
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
diff --git a/pr/323/docs/iroh_quinn_proto/coding/trait.Decodable.html b/pr/323/docs/iroh_quinn_proto/coding/trait.Decodable.html
index 0549a2287..9e6885c2d 100644
--- a/pr/323/docs/iroh_quinn_proto/coding/trait.Decodable.html
+++ b/pr/323/docs/iroh_quinn_proto/coding/trait.Decodable.html
@@ -3,4 +3,4 @@
fn decode<B: Buf>(buf: &mut B) -> Result<Self>;
}Expand description
Decoding of QUIC primitives.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Implementors§
\ No newline at end of file
+
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Implementors§
\ No newline at end of file
diff --git a/pr/323/docs/iroh_quinn_proto/coding/trait.Encodable.html b/pr/323/docs/iroh_quinn_proto/coding/trait.Encodable.html
index 63c896148..acb0150ee 100644
--- a/pr/323/docs/iroh_quinn_proto/coding/trait.Encodable.html
+++ b/pr/323/docs/iroh_quinn_proto/coding/trait.Encodable.html
@@ -3,4 +3,4 @@
fn encode<B: BufMut>(&self, buf: &mut B);
}Expand description
Infallible encoding of QUIC primitives.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Implementors§
\ No newline at end of file
+
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Implementors§
\ No newline at end of file
diff --git a/pr/323/docs/iroh_quinn_proto/enum.ClosePathError.html b/pr/323/docs/iroh_quinn_proto/enum.ClosePathError.html
index 5093aa9f8..07d051047 100644
--- a/pr/323/docs/iroh_quinn_proto/enum.ClosePathError.html
+++ b/pr/323/docs/iroh_quinn_proto/enum.ClosePathError.html
@@ -1,11 +1,11 @@
-ClosePathError in iroh_quinn_proto - Rust ClosePathError
pub enum ClosePathError {
+ClosePathError in iroh_quinn_proto - Rust ClosePathError
pub enum ClosePathError {
ClosedPath,
LastOpenPath,
}
Expand description
Errors triggered when abandoning a path
Variants§
§ClosedPath
The path is already closed or was never opened
§LastOpenPath
This is the last path, which can not be abandoned
-Trait Implementations§
Source§impl Clone for ClosePathError
Source§fn clone(&self) -> ClosePathError
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for ClosePathError
Source§impl Display for ClosePathError
Source§impl Error for ClosePathError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Source§impl PartialEq for ClosePathError
Source§impl Eq for ClosePathError
Source§impl StructuralPartialEq for ClosePathError
Auto Trait Implementations§
§impl Freeze for ClosePathError
§impl RefUnwindSafe for ClosePathError
§impl Send for ClosePathError
§impl Sync for ClosePathError
§impl Unpin for ClosePathError
§impl UnwindSafe for ClosePathError
Blanket Implementations§
Trait Implementations§
Source§impl Clone for ClosePathError
Source§fn clone(&self) -> ClosePathError
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for ClosePathError
Source§impl Display for ClosePathError
Source§impl Error for ClosePathError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Source§impl PartialEq for ClosePathError
Source§impl Eq for ClosePathError
Source§impl StructuralPartialEq for ClosePathError
Auto Trait Implementations§
§impl Freeze for ClosePathError
§impl RefUnwindSafe for ClosePathError
§impl Send for ClosePathError
§impl Sync for ClosePathError
§impl Unpin for ClosePathError
§impl UnwindSafe for ClosePathError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/pr/323/docs/iroh_quinn_proto/enum.ConnectionError.html b/pr/323/docs/iroh_quinn_proto/enum.ConnectionError.html
index f95e6db31..dfae5e329 100644
--- a/pr/323/docs/iroh_quinn_proto/enum.ConnectionError.html
+++ b/pr/323/docs/iroh_quinn_proto/enum.ConnectionError.html
@@ -1,4 +1,4 @@
-ConnectionError in iroh_quinn_proto - Rust ConnectionError
pub enum ConnectionError {
+ConnectionError in iroh_quinn_proto - Rust ConnectionError
pub enum ConnectionError {
VersionMismatch,
TransportError(TransportError),
ConnectionClosed(ConnectionClose),
@@ -20,8 +20,8 @@ and §LocallyClosed
The local application closed the connection
§CidsExhausted
The connection could not be created because not enough of the CID space is available
Try using longer connection IDs.
-Trait Implementations§
Source§impl Clone for ConnectionError
Source§fn clone(&self) -> ConnectionError
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for ConnectionError
Source§impl Display for ConnectionError
Source§impl Error for ConnectionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Source§impl From<ConnectionError> for Error
Source§fn from(x: ConnectionError) -> Self
Converts to this type from the input type.Source§impl From<Error> for ConnectionError
Source§fn from(source: TransportError) -> Self
Converts to this type from the input type.Source§impl PartialEq for ConnectionError
Source§impl Eq for ConnectionError
Source§impl StructuralPartialEq for ConnectionError
Auto Trait Implementations§
§impl !Freeze for ConnectionError
§impl !RefUnwindSafe for ConnectionError
§impl Send for ConnectionError
§impl Sync for ConnectionError
§impl Unpin for ConnectionError
§impl !UnwindSafe for ConnectionError
Blanket Implementations§
Trait Implementations§
Source§impl Clone for ConnectionError
Source§fn clone(&self) -> ConnectionError
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for ConnectionError
Source§impl Display for ConnectionError
Source§impl Error for ConnectionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Source§impl From<ConnectionError> for Error
Source§fn from(x: ConnectionError) -> Self
Converts to this type from the input type.Source§impl From<Error> for ConnectionError
Source§fn from(source: TransportError) -> Self
Converts to this type from the input type.Source§impl PartialEq for ConnectionError
Source§impl Eq for ConnectionError
Source§impl StructuralPartialEq for ConnectionError
Auto Trait Implementations§
§impl !Freeze for ConnectionError
§impl !RefUnwindSafe for ConnectionError
§impl Send for ConnectionError
§impl Sync for ConnectionError
§impl Unpin for ConnectionError
§impl !UnwindSafe for ConnectionError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/pr/323/docs/iroh_quinn_proto/enum.Dir.html b/pr/323/docs/iroh_quinn_proto/enum.Dir.html
index adb1c527a..d44638051 100644
--- a/pr/323/docs/iroh_quinn_proto/enum.Dir.html
+++ b/pr/323/docs/iroh_quinn_proto/enum.Dir.html
@@ -9,7 +9,7 @@ unstructured data. Read more
Source§impl Ord for Dir
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more1.21.0 · Source§fn min(self, other: Self) -> Selfwhere
diff --git a/pr/323/docs/iroh_quinn_proto/enum.Event.html b/pr/323/docs/iroh_quinn_proto/enum.Event.html
index 1b8cf8122..142009cd1 100644
--- a/pr/323/docs/iroh_quinn_proto/enum.Event.html
+++ b/pr/323/docs/iroh_quinn_proto/enum.Event.html
@@ -1,4 +1,4 @@
-Event in iroh_quinn_proto - Rust Event
pub enum Event {
+Event in iroh_quinn_proto - Rust Event
pub enum Event {
HandshakeDataReady,
Connected,
HandshakeConfirmed,
@@ -22,7 +22,7 @@
§DatagramsUnblocked
One or more application datagrams have been sent after blocking
§Path(PathEvent)
(Multi)Path events
§NatTraversal(Event)
Iroh’s nat traversal events
-
Trait Implementations§
Auto Trait Implementations§
§impl !Freeze for Event
§impl !RefUnwindSafe for Event
§impl Send for Event
§impl Sync for Event
§impl Unpin for Event
§impl !UnwindSafe for Event
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !Freeze for Event
§impl !RefUnwindSafe for Event
§impl Send for Event
§impl Sync for Event
§impl Unpin for Event
§impl !UnwindSafe for Event
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> From<T> for T
Source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/pr/323/docs/iroh_quinn_proto/enum.FrameType.html b/pr/323/docs/iroh_quinn_proto/enum.FrameType.html
index 2a31c0268..b8bd8a4ea 100644
--- a/pr/323/docs/iroh_quinn_proto/enum.FrameType.html
+++ b/pr/323/docs/iroh_quinn_proto/enum.FrameType.html
@@ -1,4 +1,4 @@
-FrameType in iroh_quinn_proto - Rust FrameType
pub enum FrameType {
+FrameType in iroh_quinn_proto - Rust FrameType
pub enum FrameType {
Show 44 variants
Padding,
Ping,
Ack,
@@ -43,8 +43,8 @@
ReachOutAtIpv4,
ReachOutAtIpv6,
RemoveAddress,
-}
Variants§
§Padding
§Ping
§Ack
§AckEcn
§ResetStream
§StopSending
§Crypto
§NewToken
§Stream(StreamInfo)
§MaxData
§MaxStreamData
§MaxStreamsBidi
§MaxStreamsUni
§DataBlocked
§StreamDataBlocked
§StreamsBlockedBidi
§StreamsBlockedUni
§NewConnectionId
§RetireConnectionId
§PathChallenge
§PathResponse
§ConnectionClose
§ApplicationClose
§HandshakeDone
§AckFrequency
§ImmediateAck
§Datagram(DatagramInfo)
§ObservedIpv4Addr
§ObservedIpv6Addr
§PathAck
§PathAckEcn
§PathAbandon
§PathStatusBackup
§PathStatusAvailable
§PathNewConnectionId
§PathRetireConnectionId
§MaxPathId
§PathsBlocked
§PathCidsBlocked
§AddIpv4Address
§AddIpv6Address
§ReachOutAtIpv4
§ReachOutAtIpv6
§RemoveAddress
Trait Implementations§
Source§impl Copy for FrameType
Source§impl Eq for FrameType
Source§impl StructuralPartialEq for FrameType
Auto Trait Implementations§
§impl Freeze for FrameType
§impl RefUnwindSafe for FrameType
§impl Send for FrameType
§impl Sync for FrameType
§impl Unpin for FrameType
§impl UnwindSafe for FrameType
Blanket Implementations§
Source§impl<T> Any for Twhere
+}Variants§
§Padding
§Ping
§Ack
§AckEcn
§ResetStream
§StopSending
§Crypto
§NewToken
§Stream(StreamInfo)
§MaxData
§MaxStreamData
§MaxStreamsBidi
§MaxStreamsUni
§DataBlocked
§StreamDataBlocked
§StreamsBlockedBidi
§StreamsBlockedUni
§NewConnectionId
§RetireConnectionId
§PathChallenge
§PathResponse
§ConnectionClose
§ApplicationClose
§HandshakeDone
§AckFrequency
§ImmediateAck
§Datagram(DatagramInfo)
§ObservedIpv4Addr
§ObservedIpv6Addr
§PathAck
§PathAckEcn
§PathAbandon
§PathStatusBackup
§PathStatusAvailable
§PathNewConnectionId
§PathRetireConnectionId
§MaxPathId
§PathsBlocked
§PathCidsBlocked
§AddIpv4Address
§AddIpv6Address
§ReachOutAtIpv4
§ReachOutAtIpv6
§RemoveAddress
Trait Implementations§
Source§impl Copy for FrameType
Source§impl Eq for FrameType
Source§impl StructuralPartialEq for FrameType
Auto Trait Implementations§
§impl Freeze for FrameType
§impl RefUnwindSafe for FrameType
§impl Send for FrameType
§impl Sync for FrameType
§impl Unpin for FrameType
§impl UnwindSafe for FrameType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/pr/323/docs/iroh_quinn_proto/enum.LongType.html b/pr/323/docs/iroh_quinn_proto/enum.LongType.html
index 8f07318d2..2bbbe2383 100644
--- a/pr/323/docs/iroh_quinn_proto/enum.LongType.html
+++ b/pr/323/docs/iroh_quinn_proto/enum.LongType.html
@@ -1,11 +1,11 @@
-LongType in iroh_quinn_proto - Rust LongType
pub enum LongType {
+LongType in iroh_quinn_proto - Rust LongType
pub enum LongType {
Handshake,
ZeroRtt,
}
Expand description
Long packet types with uniform header structure
Variants§
Trait Implementations§
Source§impl Copy for LongType
Source§impl Eq for LongType
Source§impl StructuralPartialEq for LongType
Auto Trait Implementations§
§impl Freeze for LongType
§impl RefUnwindSafe for LongType
§impl Send for LongType
§impl Sync for LongType
§impl Unpin for LongType
§impl UnwindSafe for LongType
Blanket Implementations§
Trait Implementations§
Source§impl Copy for LongType
Source§impl Eq for LongType
Source§impl StructuralPartialEq for LongType
Auto Trait Implementations§
§impl Freeze for LongType
§impl RefUnwindSafe for LongType
§impl Send for LongType
§impl Sync for LongType
§impl Unpin for LongType
§impl UnwindSafe for LongType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/pr/323/docs/iroh_quinn_proto/enum.MaybeFrame.html b/pr/323/docs/iroh_quinn_proto/enum.MaybeFrame.html
index 51cdba17e..0cfd197da 100644
--- a/pr/323/docs/iroh_quinn_proto/enum.MaybeFrame.html
+++ b/pr/323/docs/iroh_quinn_proto/enum.MaybeFrame.html
@@ -1,4 +1,4 @@
-MaybeFrame in iroh_quinn_proto - Rust MaybeFrame
pub enum MaybeFrame {
+MaybeFrame in iroh_quinn_proto - Rust MaybeFrame
Variants§
§None
Not attributed to any particular FrameType.
§Unknown(u64)
Attributed to some frame type this implementation does not recognize.
§Known(FrameType)
Attributed to a specific FrameType, never FrameType::Padding.
-Trait Implementations§
Source§impl Clone for MaybeFrame
Source§fn clone(&self) -> MaybeFrame
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for MaybeFrame
Source§impl Decodable for MaybeFrame
Source§impl Display for MaybeFrame
Source§impl Encodable for MaybeFrame
Source§impl PartialEq for MaybeFrame
Source§impl Copy for MaybeFrame
Source§impl Eq for MaybeFrame
Source§impl StructuralPartialEq for MaybeFrame
Auto Trait Implementations§
§impl Freeze for MaybeFrame
§impl RefUnwindSafe for MaybeFrame
§impl Send for MaybeFrame
§impl Sync for MaybeFrame
§impl Unpin for MaybeFrame
§impl UnwindSafe for MaybeFrame
Blanket Implementations§
Trait Implementations§
Source§impl Clone for MaybeFrame
Source§fn clone(&self) -> MaybeFrame
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for MaybeFrame
Source§impl Decodable for MaybeFrame
Source§impl Display for MaybeFrame
Source§impl Encodable for MaybeFrame
Source§impl PartialEq for MaybeFrame
Source§impl Copy for MaybeFrame
Source§impl Eq for MaybeFrame
Source§impl StructuralPartialEq for MaybeFrame
Auto Trait Implementations§
§impl Freeze for MaybeFrame
§impl RefUnwindSafe for MaybeFrame
§impl Send for MaybeFrame
§impl Sync for MaybeFrame
§impl Unpin for MaybeFrame
§impl UnwindSafe for MaybeFrame
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/pr/323/docs/iroh_quinn_proto/enum.PacketDecodeError.html b/pr/323/docs/iroh_quinn_proto/enum.PacketDecodeError.html
index ae013578f..94703cccf 100644
--- a/pr/323/docs/iroh_quinn_proto/enum.PacketDecodeError.html
+++ b/pr/323/docs/iroh_quinn_proto/enum.PacketDecodeError.html
@@ -1,4 +1,4 @@
-PacketDecodeError in iroh_quinn_proto - Rust PacketDecodeError
pub enum PacketDecodeError {
+PacketDecodeError in iroh_quinn_proto - Rust PacketDecodeError
pub enum PacketDecodeError {
UnsupportedVersion {
src_cid: ConnectionId,
dst_cid: ConnectionId,
@@ -11,16 +11,16 @@
§dst_cid: ConnectionIdDestination Connection ID
§InvalidHeader(&'static str)
The packet header is invalid
-
Trait Implementations§
Source§impl Clone for PacketDecodeError
Source§fn clone(&self) -> PacketDecodeError
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for PacketDecodeError
Source§impl Display for PacketDecodeError
Source§impl Error for PacketDecodeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Source§impl From<UnexpectedEnd> for PacketDecodeError
Source§fn from(_: UnexpectedEnd) -> Self
Converts to this type from the input type.Source§impl Hash for PacketDecodeError
1.3.0 · Source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
Source§impl Clone for PacketDecodeError
Source§fn clone(&self) -> PacketDecodeError
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for PacketDecodeError
Source§impl Display for PacketDecodeError
Source§impl Error for PacketDecodeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Source§impl From<UnexpectedEnd> for PacketDecodeError
Source§fn from(_: UnexpectedEnd) -> Self
Converts to this type from the input type.Source§impl Hash for PacketDecodeError
Source§impl Ord for PacketDecodeError
Source§impl Ord for PacketDecodeError
Source§fn cmp(&self, other: &PacketDecodeError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moreSource§impl PartialEq for PacketDecodeError
Source§impl PartialOrd for PacketDecodeError
Source§impl PartialEq for PacketDecodeError
Source§impl PartialOrd for PacketDecodeError
Source§impl Eq for PacketDecodeError
Source§impl StructuralPartialEq for PacketDecodeError
Auto Trait Implementations§
§impl Freeze for PacketDecodeError
§impl RefUnwindSafe for PacketDecodeError
§impl Send for PacketDecodeError
§impl Sync for PacketDecodeError
§impl Unpin for PacketDecodeError
§impl UnwindSafe for PacketDecodeError
Blanket Implementations§
Source§impl Eq for PacketDecodeError
Source§impl StructuralPartialEq for PacketDecodeError
Auto Trait Implementations§
§impl Freeze for PacketDecodeError
§impl RefUnwindSafe for PacketDecodeError
§impl Send for PacketDecodeError
§impl Sync for PacketDecodeError
§impl Unpin for PacketDecodeError
§impl UnwindSafe for PacketDecodeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/pr/323/docs/iroh_quinn_proto/enum.PathError.html b/pr/323/docs/iroh_quinn_proto/enum.PathError.html
index 850d62bf5..233640273 100644
--- a/pr/323/docs/iroh_quinn_proto/enum.PathError.html
+++ b/pr/323/docs/iroh_quinn_proto/enum.PathError.html
@@ -1,4 +1,4 @@
-PathError in iroh_quinn_proto - Rust PathError
pub enum PathError {
+PathError in iroh_quinn_proto - Rust PathError
pub enum PathError {
MultipathNotNegotiated,
ServerSideNotAllowed,
MaxPathIdReached,
@@ -12,8 +12,8 @@
§RemoteCidsExhausted
No remote CIDs available to open a new path
§ValidationFailed
Path could not be validated and will be abandoned
§InvalidRemoteAddress(SocketAddr)
The remote address for the path is not supported by the endpoint
-
Trait Implementations§
Source§impl Error for PathError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Source§impl Copy for PathError
Source§impl Eq for PathError
Source§impl StructuralPartialEq for PathError
Auto Trait Implementations§
§impl Freeze for PathError
§impl RefUnwindSafe for PathError
§impl Send for PathError
§impl Sync for PathError
§impl Unpin for PathError
§impl UnwindSafe for PathError
Blanket Implementations§
Trait Implementations§
Source§impl Error for PathError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Source§impl Copy for PathError
Source§impl Eq for PathError
Source§impl StructuralPartialEq for PathError
Auto Trait Implementations§
§impl Freeze for PathError
§impl RefUnwindSafe for PathError
§impl Send for PathError
§impl Sync for PathError
§impl Unpin for PathError
§impl UnwindSafe for PathError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/pr/323/docs/iroh_quinn_proto/enum.PathEvent.html b/pr/323/docs/iroh_quinn_proto/enum.PathEvent.html
index a7b572f91..354ae4aca 100644
--- a/pr/323/docs/iroh_quinn_proto/enum.PathEvent.html
+++ b/pr/323/docs/iroh_quinn_proto/enum.PathEvent.html
@@ -47,7 +47,7 @@ changes the status.
Fields
§id: PathIdPath over which the observed address was reported, PathId::ZERO when multipath is
not negotiated
§addr: SocketAddrThe address observed by the remote over this path
-
Trait Implementations§
Trait Implementations§
Source§impl Eq for PathEvent
Source§impl StructuralPartialEq for PathEvent
Auto Trait Implementations§
§impl Freeze for PathEvent
§impl RefUnwindSafe for PathEvent
§impl Send for PathEvent
§impl Sync for PathEvent
§impl Unpin for PathEvent
§impl UnwindSafe for PathEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
diff --git a/pr/323/docs/iroh_quinn_proto/enum.ProtectedHeader.html b/pr/323/docs/iroh_quinn_proto/enum.ProtectedHeader.html
index 35912ec51..e68afd7cd 100644
--- a/pr/323/docs/iroh_quinn_proto/enum.ProtectedHeader.html
+++ b/pr/323/docs/iroh_quinn_proto/enum.ProtectedHeader.html
@@ -1,4 +1,4 @@
-ProtectedHeader in iroh_quinn_proto - Rust ProtectedHeader
pub enum ProtectedHeader {
+ProtectedHeader in iroh_quinn_proto - Rust ProtectedHeader
pub enum ProtectedHeader {
Initial(ProtectedInitialHeader),
Long {
ty: LongType,
@@ -40,14 +40,14 @@
Implementations§
Source§impl ProtectedHeader
Sourcepub fn dst_cid(&self) -> ConnectionId
The destination Connection ID of the packet
-
Implementations§
Source§impl ProtectedHeader
Sourcepub fn dst_cid(&self) -> ConnectionId
The destination Connection ID of the packet
+Sourcepub fn decode(
buf: &mut Cursor<BytesMut>,
cid_parser: &(impl ConnectionIdParser + ?Sized),
supported_versions: &[u32],
grease_quic_bit: bool,
) -> Result<Self, PacketDecodeError>
Decode a plain header from given buffer, with given ConnectionIdParser.
-Trait Implementations§
Source§impl Clone for ProtectedHeader
Source§fn clone(&self) -> ProtectedHeader
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreAuto Trait Implementations§
§impl Freeze for ProtectedHeader
§impl RefUnwindSafe for ProtectedHeader
§impl Send for ProtectedHeader
§impl Sync for ProtectedHeader
§impl Unpin for ProtectedHeader
§impl UnwindSafe for ProtectedHeader
Blanket Implementations§
Trait Implementations§
Source§impl Clone for ProtectedHeader
Source§fn clone(&self) -> ProtectedHeader
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreAuto Trait Implementations§
§impl Freeze for ProtectedHeader
§impl RefUnwindSafe for ProtectedHeader
§impl Send for ProtectedHeader
§impl Sync for ProtectedHeader
§impl Unpin for ProtectedHeader
§impl UnwindSafe for ProtectedHeader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/pr/323/docs/iroh_quinn_proto/enum.SendDatagramError.html b/pr/323/docs/iroh_quinn_proto/enum.SendDatagramError.html
index 900d93edf..a848668b9 100644
--- a/pr/323/docs/iroh_quinn_proto/enum.SendDatagramError.html
+++ b/pr/323/docs/iroh_quinn_proto/enum.SendDatagramError.html
@@ -1,4 +1,4 @@
-SendDatagramError in iroh_quinn_proto - Rust SendDatagramError
pub enum SendDatagramError {
+SendDatagramError in iroh_quinn_proto - Rust SendDatagramError
pub enum SendDatagramError {
UnsupportedByPeer,
Disabled,
TooLarge,
@@ -10,16 +10,16 @@
Indicates that the path MTU minus overhead or the limit advertised by the peer has been
exceeded.
§Blocked(Bytes)
Send would block
-
Trait Implementations§
Source§impl Clone for SendDatagramError
Source§fn clone(&self) -> SendDatagramError
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for SendDatagramError
Source§impl Display for SendDatagramError
Source§impl Error for SendDatagramError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Source§impl Hash for SendDatagramError
1.3.0 · Source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
Source§impl Clone for SendDatagramError
Source§fn clone(&self) -> SendDatagramError
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for SendDatagramError
Source§impl Display for SendDatagramError
Source§impl Error for SendDatagramError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Source§impl Hash for SendDatagramError
Source§impl Ord for SendDatagramError
Source§impl Ord for SendDatagramError
Source§fn cmp(&self, other: &SendDatagramError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moreSource§impl PartialEq for SendDatagramError
Source§impl PartialOrd for SendDatagramError
Source§impl PartialEq for SendDatagramError
Source§impl PartialOrd for SendDatagramError
Source§impl Eq for SendDatagramError
Source§impl StructuralPartialEq for SendDatagramError
Auto Trait Implementations§
§impl !Freeze for SendDatagramError
§impl RefUnwindSafe for SendDatagramError
§impl Send for SendDatagramError
§impl Sync for SendDatagramError
§impl Unpin for SendDatagramError
§impl UnwindSafe for SendDatagramError
Blanket Implementations§
Source§impl Eq for SendDatagramError
Source§impl StructuralPartialEq for SendDatagramError
Auto Trait Implementations§
§impl !Freeze for SendDatagramError
§impl RefUnwindSafe for SendDatagramError
§impl Send for SendDatagramError
§impl Sync for SendDatagramError
§impl Unpin for SendDatagramError
§impl UnwindSafe for SendDatagramError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/pr/323/docs/iroh_quinn_proto/struct.ApplicationClose.html b/pr/323/docs/iroh_quinn_proto/struct.ApplicationClose.html
index 380fe3169..486dff3a5 100644
--- a/pr/323/docs/iroh_quinn_proto/struct.ApplicationClose.html
+++ b/pr/323/docs/iroh_quinn_proto/struct.ApplicationClose.html
@@ -1,11 +1,11 @@
-ApplicationClose in iroh_quinn_proto - Rust ApplicationClose
pub struct ApplicationClose {
+ApplicationClose in iroh_quinn_proto - Rust ApplicationClose
pub struct ApplicationClose {
pub error_code: VarInt,
pub reason: Bytes,
}
Expand description
Reason given by an application for closing the connection
Fields§
§error_code: VarIntApplication-specific reason code
§reason: BytesHuman-readable reason for the close
-Trait Implementations§
Source§impl Clone for ApplicationClose
Source§fn clone(&self) -> ApplicationClose
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for ApplicationClose
Source§impl Display for ApplicationClose
Source§impl PartialEq for ApplicationClose
Source§impl Eq for ApplicationClose
Source§impl StructuralPartialEq for ApplicationClose
Auto Trait Implementations§
§impl !Freeze for ApplicationClose
§impl RefUnwindSafe for ApplicationClose
§impl Send for ApplicationClose
§impl Sync for ApplicationClose
§impl Unpin for ApplicationClose
§impl UnwindSafe for ApplicationClose
Blanket Implementations§
Source§impl<T> Any for Twhere
+Trait Implementations§
Source§impl Clone for ApplicationClose
Source§fn clone(&self) -> ApplicationClose
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for ApplicationClose
Source§impl Display for ApplicationClose
Source§impl PartialEq for ApplicationClose
Source§impl Eq for ApplicationClose
Source§impl StructuralPartialEq for ApplicationClose
Auto Trait Implementations§
§impl !Freeze for ApplicationClose
§impl RefUnwindSafe for ApplicationClose
§impl Send for ApplicationClose
§impl Sync for ApplicationClose
§impl Unpin for ApplicationClose
§impl UnwindSafe for ApplicationClose
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/pr/323/docs/iroh_quinn_proto/struct.Connection.html b/pr/323/docs/iroh_quinn_proto/struct.Connection.html
index 906ebc6fa..88d8a55f9 100644
--- a/pr/323/docs/iroh_quinn_proto/struct.Connection.html
+++ b/pr/323/docs/iroh_quinn_proto/struct.Connection.html
@@ -1,4 +1,4 @@
-Connection in iroh_quinn_proto - Rust Connection
pub struct Connection { /* private fields */ }
Expand description
Protocol state and logic for a single QUIC connection
+Connection in iroh_quinn_proto - Rust Connection
pub struct Connection { /* private fields */ }
Expand description
Protocol state and logic for a single QUIC connection
Objects of this type receive ConnectionEvents and emit EndpointEvents and application
Events to make progress. To handle timeouts, a Connection returns timer updates and
expects timeouts through various methods. A number of simple getter methods are exposed
@@ -33,7 +33,7 @@ increasing time. Specifically, calling Instant may be interleaved in any order with a
call to handle_event at that same instant; however
events or timeouts with different instants must not be interleaved.
-Implementations§
Source§impl Connection
Sourcepub fn poll_timeout(&mut self) -> Option<Instant>
Returns the next time at which handle_timeout should be called
+Implementations§
Source§impl Connection
Sourcepub fn poll_timeout(&mut self) -> Option<Instant>
Returns the next time at which handle_timeout should be called
The value returned may change after:
- the application performed some I/O on the connection
@@ -41,17 +41,17 @@ events or timeouts with different instants must not be interleaved.
- a call to
poll_transmit returned Some
- a call was made to
handle_timeout
-Sourcepub fn poll(&mut self) -> Option<Event>
Returns application-facing events
Connections should be polled for events after:
- a call was made to
handle_event
- a call was made to
handle_timeout
-Sourcepub fn poll_endpoint_events(&mut self) -> Option<EndpointEvent>
Return endpoint-facing events
-Sourcepub fn recv_stream(&mut self, id: StreamId) -> RecvStream<'_>
Provide control over streams
-Sourcepub fn send_stream(&mut self, id: StreamId) -> SendStream<'_>
Provide control over streams
-Sourcepub fn open_path_ensure(
+
Sourcepub fn poll_endpoint_events(&mut self) -> Option<EndpointEvent>
Return endpoint-facing events
+Sourcepub fn recv_stream(&mut self, id: StreamId) -> RecvStream<'_>
Provide control over streams
+Sourcepub fn send_stream(&mut self, id: StreamId) -> SendStream<'_>
Provide control over streams
+Sourcepub fn open_path_ensure(
&mut self,
network_path: FourTuple,
initial_status: PathStatus,
@@ -65,7 +65,7 @@ remote addresses.
remote, should it not be known yet. We assume that if we already have a path to the remote,
the OS is likely to use the same interface to talk to said remote.
See also open_path. Returns (path_id, true) if the path already existed. (path_id, false) if was opened.
-
Sourcepub fn open_path(
&mut self,
network_path: FourTuple,
initial_status: PathStatus,
@@ -73,7 +73,7 @@ the OS is likely to use the same interface to talk to said remote.
) -> Result<PathId, PathError>
Opens a new path
Further errors might occur and they will be emitted in PathEvent::LocallyClosed events.
When the path is opened it will be reported as an PathEvent::Opened.
-Sourcepub fn close_path(
+
Sourcepub fn close_path(
&mut self,
now: Instant,
path_id: PathId,
@@ -82,32 +82,32 @@ When the path is opened it will be reported as an Sourcepub fn paths(&self) -> Vec<PathId>
Returns all known paths.
+
Sourcepub fn paths(&self) -> Vec<PathId>
Returns all known paths.
There is no guarantee any of these paths are open or usable.
-Sourcepub fn path_status(&self, path_id: PathId) -> Result<PathStatus, ClosedPath>
Gets the local PathStatus for a known PathId
-Sourcepub fn network_path(&self, path_id: PathId) -> Result<FourTuple, ClosedPath>
Returns the path’s network path represented as a 4-tuple.
-Sourcepub fn set_path_status(
+
Sourcepub fn path_status(&self, path_id: PathId) -> Result<PathStatus, ClosedPath>
Gets the local PathStatus for a known PathId
+Sourcepub fn network_path(&self, path_id: PathId) -> Result<FourTuple, ClosedPath>
Returns the path’s network path represented as a 4-tuple.
+Sourcepub fn set_path_status(
&mut self,
path_id: PathId,
status: PathStatus,
) -> Result<PathStatus, SetPathStatusError>
Sets the PathStatus for a known PathId
Returns the previous path status on success.
-Sourcepub fn remote_path_status(&self, path_id: PathId) -> Option<PathStatus>
Returns the remote path status
-Sourcepub fn set_path_max_idle_timeout(
+
Sourcepub fn remote_path_status(&self, path_id: PathId) -> Option<PathStatus>
Returns the remote path status
+Sourcepub fn set_path_max_idle_timeout(
&mut self,
path_id: PathId,
timeout: Option<Duration>,
) -> Result<Option<Duration>, ClosedPath>
Sets the max_idle_timeout for a specific path
See TransportConfig::default_path_max_idle_timeout for details.
Returns the previous value of the setting.
-Sourcepub fn set_path_keep_alive_interval(
+
Sourcepub fn set_path_keep_alive_interval(
&mut self,
path_id: PathId,
interval: Option<Duration>,
) -> Result<Option<Duration>, ClosedPath>
Sets the keep_alive_interval for a specific path
See TransportConfig::default_path_keep_alive_interval for details.
Returns the previous value of the setting.
-Sourcepub fn poll_transmit(
+
Sourcepub fn poll_transmit(
&mut self,
now: Instant,
max_datagrams: NonZeroUsize,
@@ -121,60 +121,60 @@ for a path that was never opened locally.
max_datagrams specifies how many datagrams can be returned inside a
single Transmit using GSO. This must be at least 1.
-
Sourcepub fn handle_event(&mut self, event: ConnectionEvent)
Process ConnectionEvents generated by the associated Endpoint
+Sourcepub fn handle_event(&mut self, event: ConnectionEvent)
Process ConnectionEvents generated by the associated Endpoint
Will execute protocol logic upon receipt of a connection event, in turn preparing signals
(including application Events, EndpointEvents and outgoing datagrams) that should be
extracted through the relevant methods.
-Sourcepub fn handle_timeout(&mut self, now: Instant)
Process timer expirations
+Sourcepub fn handle_timeout(&mut self, now: Instant)
Process timer expirations
Executes protocol logic, potentially preparing signals (including application Events,
EndpointEvents and outgoing datagrams) that should be extracted through the relevant
methods.
It is most efficient to call this immediately after the system clock reaches the latest
Instant that was output by poll_timeout; however spurious extra calls will simply
no-op and therefore are safe.
-Sourcepub fn close(&mut self, now: Instant, error_code: VarInt, reason: Bytes)
Close a connection immediately
+Sourcepub fn close(&mut self, now: Instant, error_code: VarInt, reason: Bytes)
Close a connection immediately
This does not ensure delivery of outstanding data. It is the application’s responsibility to
call this only when all important communications have been completed, e.g. by calling
SendStream::finish on outstanding streams and waiting for the corresponding
StreamEvent::Finished event.
If Streams::send_streams returns 0, all outstanding stream data has been
delivered. There may still be data from the peer that has not been received.
-Sourcepub fn stats(&mut self) -> ConnectionStats
Returns connection statistics
-Sourcepub fn path_stats(&mut self, path_id: PathId) -> Option<PathStats>
Returns path statistics
-Sourcepub fn stats(&mut self) -> ConnectionStats
Returns connection statistics
+Sourcepub fn path_stats(&mut self, path_id: PathId) -> Option<PathStats>
Returns path statistics
+Sourcepub fn ping(&mut self)
Ping the remote endpoint
Causes an ACK-eliciting packet to be transmitted on the connection.
-Sourcepub fn ping_path(&mut self, path: PathId) -> Result<(), ClosedPath>
Ping the remote endpoint over a specific path
+Sourcepub fn ping_path(&mut self, path: PathId) -> Result<(), ClosedPath>
Ping the remote endpoint over a specific path
Causes an ACK-eliciting packet to be transmitted on the path.
-Sourcepub fn force_key_update(&mut self)
Update traffic keys spontaneously
+Sourcepub fn force_key_update(&mut self)
Update traffic keys spontaneously
This can be useful for testing key updates, as they otherwise only happen infrequently.
-Sourcepub fn crypto_session(&self) -> &dyn Session
Get a session reference
-Sourcepub fn is_handshaking(&self) -> bool
Whether the connection is in the process of being established
+Sourcepub fn crypto_session(&self) -> &dyn Session
Get a session reference
+Sourcepub fn is_handshaking(&self) -> bool
Whether the connection is in the process of being established
If this returns false, the connection may be either established or closed, signaled by the
emission of a Connected or ConnectionLost message respectively.
-Sourcepub fn is_closed(&self) -> bool
Whether the connection is closed
Closed connections cannot transport any further data. A connection becomes closed when
either peer application intentionally closes it, or when either transport layer detects an
error such as a time-out or certificate validation failure.
A ConnectionLost event is emitted with details when the connection becomes closed.
-Sourcepub fn is_drained(&self) -> bool
Whether there is no longer any need to keep the connection around
+Sourcepub fn is_drained(&self) -> bool
Whether there is no longer any need to keep the connection around
Closed connections become drained after a brief timeout to absorb any remaining in-flight
packets from the peer. All drained connections have been closed.
-Sourcepub fn accepted_0rtt(&self) -> bool
For clients, if the peer accepted the 0-RTT data packets
+Sourcepub fn accepted_0rtt(&self) -> bool
For clients, if the peer accepted the 0-RTT data packets
The value is meaningless until after the handshake completes.
-Sourcepub fn has_pending_retransmits(&self) -> bool
Whether there are any pending retransmits
-Sourcepub fn path_observed_address(
+
Sourcepub fn has_pending_retransmits(&self) -> bool
Whether there are any pending retransmits
+Sourcepub fn path_observed_address(
&self,
path_id: PathId,
) -> Result<Option<SocketAddr>, ClosedPath>
Get the address observed by the remote over the given path
-Sourcepub fn rtt(&self, path_id: PathId) -> Option<Duration>
Current best estimate of this connection’s latency (round-trip-time)
-Sourcepub fn congestion_state(&self, path_id: PathId) -> Option<&dyn Controller>
Current state of this connection’s congestion controller, for debugging purposes
-Sourcepub fn set_max_concurrent_streams(&mut self, dir: Dir, count: VarInt)
Modify the number of remotely initiated streams that may be concurrently open
+Sourcepub fn rtt(&self, path_id: PathId) -> Option<Duration>
Current best estimate of this connection’s latency (round-trip-time)
+Sourcepub fn congestion_state(&self, path_id: PathId) -> Option<&dyn Controller>
Current state of this connection’s congestion controller, for debugging purposes
+Sourcepub fn set_max_concurrent_streams(&mut self, dir: Dir, count: VarInt)
Modify the number of remotely initiated streams that may be concurrently open
No streams may be opened by the peer unless fewer than count are already open. Large
counts increase both minimum and worst-case memory consumption.
-Sourcepub fn set_max_concurrent_paths(
+
Sourcepub fn set_max_concurrent_paths(
&mut self,
now: Instant,
count: NonZeroU32,
@@ -185,36 +185,36 @@ actively reduce paths they must be closed using TransportConfig) this can not enable
multipath and will fail.
-
Sourcepub fn max_concurrent_streams(&self, dir: Dir) -> u64
Current number of remotely initiated streams that may be concurrently open
+Sourcepub fn max_concurrent_streams(&self, dir: Dir) -> u64
Current number of remotely initiated streams that may be concurrently open
If the target for this limit is reduced using set_max_concurrent_streams,
it will not change immediately, even if fewer streams are open. Instead, it will
decrement by one for each time a remotely initiated stream of matching directionality is closed.
-Sourcepub fn set_send_window(&mut self, send_window: u64)
Sourcepub fn set_receive_window(&mut self, receive_window: VarInt)
Sourcepub fn is_multipath_negotiated(&self) -> bool
Whether the Multipath for QUIC extension is enabled.
+Sourcepub fn set_send_window(&mut self, send_window: u64)
Sourcepub fn set_receive_window(&mut self, receive_window: VarInt)
Sourcepub fn is_multipath_negotiated(&self) -> bool
Whether the Multipath for QUIC extension is enabled.
Multipath is only enabled after the handshake is completed and if it was enabled by both
peers.
-Sourcepub fn local_address_changed(&mut self)
Handle a change in the local address, i.e. an active migration
-Sourcepub fn current_mtu(&self) -> u16
Storage size required for the largest packet that can be transmitted on all currently
+
Sourcepub fn local_address_changed(&mut self)
Handle a change in the local address, i.e. an active migration
+Sourcepub fn current_mtu(&self) -> u16
Storage size required for the largest packet that can be transmitted on all currently
available paths
Buffers passed to Connection::poll_transmit should be at least this large.
When multipath is enabled, this value is the minimum MTU across all available paths.
-Sourcepub fn add_nat_traversal_address(
+
Sourcepub fn add_nat_traversal_address(
&mut self,
address: SocketAddr,
) -> Result<(), Error>
Add addresses the local endpoint considers are reachable for nat traversal
-Sourcepub fn remove_nat_traversal_address(
+
Sourcepub fn remove_nat_traversal_address(
&mut self,
address: SocketAddr,
) -> Result<(), Error>
Removes an address the endpoing no longer considers reachable for nat traversal
Addresses not present in the set will be silently ignored.
-Sourcepub fn get_local_nat_traversal_addresses(
+
Sourcepub fn get_local_nat_traversal_addresses(
&self,
) -> Result<Vec<SocketAddr>, Error>
Get the current local nat traversal addresses
-Sourcepub fn get_remote_nat_traversal_addresses(
+
Sourcepub fn get_remote_nat_traversal_addresses(
&self,
) -> Result<Vec<SocketAddr>, Error>
Get the currently advertised nat traversal addresses by the server
-Sourcepub fn initiate_nat_traversal_round(
+
Sourcepub fn initiate_nat_traversal_round(
&mut self,
now: Instant,
) -> Result<Vec<SocketAddr>, Error>
Initiates a new nat traversal round
@@ -224,7 +224,7 @@ initiated, the previous one is cancelled, and paths that have not been opened ar
Returns the server addresses that are now being probed.
If addresses fail due to spurious errors, these might succeed later and not be returned in
this set.
-
Trait Implementations§
Auto Trait Implementations§
§impl !Freeze for Connection
§impl !RefUnwindSafe for Connection
§impl Send for Connection
§impl Sync for Connection
§impl Unpin for Connection
§impl !UnwindSafe for Connection
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !Freeze for Connection
§impl !RefUnwindSafe for Connection
§impl Send for Connection
§impl Sync for Connection
§impl Unpin for Connection
§impl !UnwindSafe for Connection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> From<T> for T
Source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/pr/323/docs/iroh_quinn_proto/struct.ConnectionClose.html b/pr/323/docs/iroh_quinn_proto/struct.ConnectionClose.html
index 1fd411a26..94c89dd15 100644
--- a/pr/323/docs/iroh_quinn_proto/struct.ConnectionClose.html
+++ b/pr/323/docs/iroh_quinn_proto/struct.ConnectionClose.html
@@ -1,4 +1,4 @@
-ConnectionClose in iroh_quinn_proto - Rust ConnectionClose
pub struct ConnectionClose {
+ConnectionClose in iroh_quinn_proto - Rust ConnectionClose
pub struct ConnectionClose {
pub error_code: TransportErrorCode,
pub frame_type: MaybeFrame,
pub reason: Bytes,
@@ -6,8 +6,8 @@
Fields§
§error_code: TransportErrorCodeClass of error as encoded in the specification
§frame_type: MaybeFrameType of frame that caused the close
§reason: BytesHuman-readable reason for the close
-Trait Implementations§
Source§impl Clone for ConnectionClose
Source§fn clone(&self) -> ConnectionClose
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for ConnectionClose
Source§impl Display for ConnectionClose
Source§impl From<Error> for ConnectionClose
Source§fn from(x: TransportError) -> Self
Converts to this type from the input type.Source§impl PartialEq for ConnectionClose
Source§impl Eq for ConnectionClose
Source§impl StructuralPartialEq for ConnectionClose
Auto Trait Implementations§
§impl !Freeze for ConnectionClose
§impl RefUnwindSafe for ConnectionClose
§impl Send for ConnectionClose
§impl Sync for ConnectionClose
§impl Unpin for ConnectionClose
§impl UnwindSafe for ConnectionClose
Blanket Implementations§
Source§impl<T> Any for Twhere
+Trait Implementations§
Source§impl Clone for ConnectionClose
Source§fn clone(&self) -> ConnectionClose
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for ConnectionClose
Source§impl Display for ConnectionClose
Source§impl From<Error> for ConnectionClose
Source§fn from(x: TransportError) -> Self
Converts to this type from the input type.Source§impl PartialEq for ConnectionClose
Source§impl Eq for ConnectionClose
Source§impl StructuralPartialEq for ConnectionClose
Auto Trait Implementations§
§impl !Freeze for ConnectionClose
§impl RefUnwindSafe for ConnectionClose
§impl Send for ConnectionClose
§impl Sync for ConnectionClose
§impl Unpin for ConnectionClose
§impl UnwindSafe for ConnectionClose
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/pr/323/docs/iroh_quinn_proto/struct.ConnectionStats.html b/pr/323/docs/iroh_quinn_proto/struct.ConnectionStats.html
index 8059b91e7..26e65f83b 100644
--- a/pr/323/docs/iroh_quinn_proto/struct.ConnectionStats.html
+++ b/pr/323/docs/iroh_quinn_proto/struct.ConnectionStats.html
@@ -1,4 +1,4 @@
-ConnectionStats in iroh_quinn_proto - Rust ConnectionStats
#[non_exhaustive]pub struct ConnectionStats {
+ConnectionStats in iroh_quinn_proto - Rust ConnectionStats
#[non_exhaustive]pub struct ConnectionStats {
pub udp_tx: UdpStats,
pub udp_rx: UdpStats,
pub frame_tx: FrameStats,
@@ -8,7 +8,7 @@
§udp_rx: UdpStatsStatistics about UDP datagrams received on a connection
§frame_tx: FrameStatsStatistics about frames transmitted on a connection
§frame_rx: FrameStatsStatistics about frames received on a connection
-Trait Implementations§
Source§impl Clone for ConnectionStats
Source§fn clone(&self) -> ConnectionStats
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for ConnectionStats
Source§impl Default for ConnectionStats
Source§fn default() -> ConnectionStats
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl Freeze for ConnectionStats
§impl RefUnwindSafe for ConnectionStats
§impl Send for ConnectionStats
§impl Sync for ConnectionStats
§impl Unpin for ConnectionStats
§impl UnwindSafe for ConnectionStats
Blanket Implementations§
Source§impl<T> Any for Twhere
+Trait Implementations§
Source§impl Clone for ConnectionStats
Source§fn clone(&self) -> ConnectionStats
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for ConnectionStats
Source§impl Default for ConnectionStats
Source§fn default() -> ConnectionStats
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl Freeze for ConnectionStats
§impl RefUnwindSafe for ConnectionStats
§impl Send for ConnectionStats
§impl Sync for ConnectionStats
§impl Unpin for ConnectionStats
§impl UnwindSafe for ConnectionStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/pr/323/docs/iroh_quinn_proto/struct.Datagram.html b/pr/323/docs/iroh_quinn_proto/struct.Datagram.html
index 1ffdec640..60895c32c 100644
--- a/pr/323/docs/iroh_quinn_proto/struct.Datagram.html
+++ b/pr/323/docs/iroh_quinn_proto/struct.Datagram.html
@@ -1,8 +1,8 @@
-Datagram in iroh_quinn_proto - Rust Datagram
pub struct Datagram {
+Datagram in iroh_quinn_proto - Rust Datagram
pub struct Datagram {
pub data: Bytes,
}
Expand description
An unreliable datagram
Fields§
§data: BytesPayload
-Trait Implementations§
Auto Trait Implementations§
§impl !Freeze for Datagram
§impl RefUnwindSafe for Datagram
§impl Send for Datagram
§impl Sync for Datagram
§impl Unpin for Datagram
§impl UnwindSafe for Datagram
Blanket Implementations§
Source§impl<T> Any for Twhere
+Trait Implementations§
Auto Trait Implementations§
§impl !Freeze for Datagram
§impl RefUnwindSafe for Datagram
§impl Send for Datagram
§impl Sync for Datagram
§impl Unpin for Datagram
§impl UnwindSafe for Datagram
Blanket Implementations§
§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
diff --git a/pr/323/docs/iroh_quinn_proto/struct.DatagramInfo.html b/pr/323/docs/iroh_quinn_proto/struct.DatagramInfo.html
index 4f9a0d6e9..49f57593d 100644
--- a/pr/323/docs/iroh_quinn_proto/struct.DatagramInfo.html
+++ b/pr/323/docs/iroh_quinn_proto/struct.DatagramInfo.html
@@ -1,5 +1,5 @@
-DatagramInfo in iroh_quinn_proto - Rust DatagramInfo
pub struct DatagramInfo(/* private fields */);
Trait Implementations§
Source§impl Clone for DatagramInfo
Source§fn clone(&self) -> DatagramInfo
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for DatagramInfo
Source§impl Display for DatagramInfo
Source§impl PartialEq for DatagramInfo
Source§impl Copy for DatagramInfo
Source§impl Eq for DatagramInfo
Source§impl StructuralPartialEq for DatagramInfo
Auto Trait Implementations§
§impl Freeze for DatagramInfo
§impl RefUnwindSafe for DatagramInfo
§impl Send for DatagramInfo
§impl Sync for DatagramInfo
§impl Unpin for DatagramInfo
§impl UnwindSafe for DatagramInfo
Blanket Implementations§
Source§impl<T> Any for Twhere
+DatagramInfo in iroh_quinn_proto - Rust DatagramInfo
pub struct DatagramInfo(/* private fields */);
Trait Implementations§
Source§impl Clone for DatagramInfo
Source§fn clone(&self) -> DatagramInfo
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for DatagramInfo
Source§impl Display for DatagramInfo
Source§impl PartialEq for DatagramInfo
Source§impl Copy for DatagramInfo
Source§impl Eq for DatagramInfo
Source§impl StructuralPartialEq for DatagramInfo
Auto Trait Implementations§
§impl Freeze for DatagramInfo
§impl RefUnwindSafe for DatagramInfo
§impl Send for DatagramInfo
§impl Sync for DatagramInfo
§impl Unpin for DatagramInfo
§impl UnwindSafe for DatagramInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/pr/323/docs/iroh_quinn_proto/struct.FixedLengthConnectionIdParser.html b/pr/323/docs/iroh_quinn_proto/struct.FixedLengthConnectionIdParser.html
index 3a71a6b61..40e8449b3 100644
--- a/pr/323/docs/iroh_quinn_proto/struct.FixedLengthConnectionIdParser.html
+++ b/pr/323/docs/iroh_quinn_proto/struct.FixedLengthConnectionIdParser.html
@@ -1,6 +1,6 @@
-FixedLengthConnectionIdParser in iroh_quinn_proto - Rust FixedLengthConnectionIdParser
pub struct FixedLengthConnectionIdParser { /* private fields */ }
Expand description
A ConnectionIdParser implementation that assumes the connection ID is of fixed length
-Implementations§
Trait Implementations§
Source§impl ConnectionIdParser for FixedLengthConnectionIdParser
Source§fn parse(&self, buffer: &mut dyn Buf) -> Result<ConnectionId, PacketDecodeError>
Parse a connection id from given bufferAuto Trait Implementations§
§impl Freeze for FixedLengthConnectionIdParser
§impl RefUnwindSafe for FixedLengthConnectionIdParser
§impl Send for FixedLengthConnectionIdParser
§impl Sync for FixedLengthConnectionIdParser
§impl Unpin for FixedLengthConnectionIdParser
§impl UnwindSafe for FixedLengthConnectionIdParser
Blanket Implementations§
Source§impl<T> Any for Twhere
+FixedLengthConnectionIdParser in iroh_quinn_proto - Rust FixedLengthConnectionIdParser
pub struct FixedLengthConnectionIdParser { /* private fields */ }
Expand description
A ConnectionIdParser implementation that assumes the connection ID is of fixed length
+Implementations§
Trait Implementations§
Source§impl ConnectionIdParser for FixedLengthConnectionIdParser
Source§fn parse(&self, buffer: &mut dyn Buf) -> Result<ConnectionId, PacketDecodeError>
Parse a connection id from given bufferAuto Trait Implementations§
§impl Freeze for FixedLengthConnectionIdParser
§impl RefUnwindSafe for FixedLengthConnectionIdParser
§impl Send for FixedLengthConnectionIdParser
§impl Sync for FixedLengthConnectionIdParser
§impl Unpin for FixedLengthConnectionIdParser
§impl UnwindSafe for FixedLengthConnectionIdParser
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> From<T> for T
Source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/pr/323/docs/iroh_quinn_proto/struct.FrameStats.html b/pr/323/docs/iroh_quinn_proto/struct.FrameStats.html
index fcbc9fe92..dea14a19d 100644
--- a/pr/323/docs/iroh_quinn_proto/struct.FrameStats.html
+++ b/pr/323/docs/iroh_quinn_proto/struct.FrameStats.html
@@ -37,7 +37,7 @@
pub reach_out: u64,
pub remove_address: u64,
}Expand description
Number of frames transmitted or received of each frame type
-Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.§acks: u64§path_acks: u64§ack_frequency: u64§crypto: u64§connection_close: u64§data_blocked: u64§datagram: u64§handshake_done: u8§immediate_ack: u64§max_data: u64§max_stream_data: u64§max_streams_bidi: u64§max_streams_uni: u64§new_connection_id: u64§path_new_connection_id: u64§new_token: u64§path_challenge: u64§path_response: u64§ping: u64§reset_stream: u64§retire_connection_id: u64§path_retire_connection_id: u64§stream_data_blocked: u64§streams_blocked_bidi: u64§streams_blocked_uni: u64§stop_sending: u64§stream: u64§observed_addr: u64§path_abandon: u64§path_status_available: u64§path_status_backup: u64§max_path_id: u64§paths_blocked: u64§path_cids_blocked: u64§add_address: u64§reach_out: u64§remove_address: u64Trait Implementations§
Source§impl Clone for FrameStats
Source§fn clone(&self) -> FrameStats
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for FrameStats
Source§impl Default for FrameStats
Source§fn default() -> FrameStats
Returns the “default value” for a type. Read moreSource§impl Copy for FrameStats
Auto Trait Implementations§
§impl Freeze for FrameStats
§impl RefUnwindSafe for FrameStats
§impl Send for FrameStats
§impl Sync for FrameStats
§impl Unpin for FrameStats
§impl UnwindSafe for FrameStats
Blanket Implementations§
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.§acks: u64§path_acks: u64§ack_frequency: u64§crypto: u64§connection_close: u64§data_blocked: u64§datagram: u64§handshake_done: u8§immediate_ack: u64§max_data: u64§max_stream_data: u64§max_streams_bidi: u64§max_streams_uni: u64§new_connection_id: u64§path_new_connection_id: u64§new_token: u64§path_challenge: u64§path_response: u64§ping: u64§reset_stream: u64§retire_connection_id: u64§path_retire_connection_id: u64§stream_data_blocked: u64§streams_blocked_bidi: u64§streams_blocked_uni: u64§stop_sending: u64§stream: u64§observed_addr: u64§path_abandon: u64§path_status_available: u64§path_status_backup: u64§max_path_id: u64§paths_blocked: u64§path_cids_blocked: u64§add_address: u64§reach_out: u64§remove_address: u64Trait Implementations§
Source§impl Clone for FrameStats
Source§fn clone(&self) -> FrameStats
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for FrameStats
Source§impl Default for FrameStats
Source§fn default() -> FrameStats
Returns the “default value” for a type. Read moreSource§impl Copy for FrameStats
Auto Trait Implementations§
§impl Freeze for FrameStats
§impl RefUnwindSafe for FrameStats
§impl Send for FrameStats
§impl Sync for FrameStats
§impl Unpin for FrameStats
§impl UnwindSafe for FrameStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/pr/323/docs/iroh_quinn_proto/struct.InvalidFrameId.html b/pr/323/docs/iroh_quinn_proto/struct.InvalidFrameId.html
index 80b456be4..4784b11cb 100644
--- a/pr/323/docs/iroh_quinn_proto/struct.InvalidFrameId.html
+++ b/pr/323/docs/iroh_quinn_proto/struct.InvalidFrameId.html
@@ -1,6 +1,6 @@
-InvalidFrameId in iroh_quinn_proto - Rust