pub struct VeilidConfigInternalRPC {
pub concurrency: u32,
pub queue_size: u32,
pub max_timestamp_behind_ms: Option<u32>,
pub max_timestamp_ahead_ms: Option<u32>,
pub timeout_ms: u32,
pub max_route_hop_count: u8,
}Expand description
Internal “footgun” RPC configuration. See VeilidConfigInternal.
Fields§
§concurrency: u32Number of concurrent RPC worker tasks (0 = automatic).
queue_size: u32Maximum number of queued RPC operations.
max_timestamp_behind_ms: Option<u32>Reject messages timestamped more than this many ms in the past (None = no limit).
max_timestamp_ahead_ms: Option<u32>Reject messages timestamped more than this many ms in the future (None = no limit).
timeout_ms: u32Timeout for an RPC round-trip, in milliseconds.
max_route_hop_count: u8Maximum number of hops allowed in a route.
Trait Implementations§
Source§impl Clone for VeilidConfigInternalRPC
impl Clone for VeilidConfigInternalRPC
Source§fn clone(&self) -> VeilidConfigInternalRPC
fn clone(&self) -> VeilidConfigInternalRPC
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VeilidConfigInternalRPC
impl Debug for VeilidConfigInternalRPC
Source§impl Default for VeilidConfigInternalRPC
impl Default for VeilidConfigInternalRPC
Source§impl<'de> Deserialize<'de> for VeilidConfigInternalRPC
impl<'de> Deserialize<'de> for VeilidConfigInternalRPC
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for VeilidConfigInternalRPC
Source§impl PartialEq for VeilidConfigInternalRPC
impl PartialEq for VeilidConfigInternalRPC
Source§impl Serialize for VeilidConfigInternalRPC
impl Serialize for VeilidConfigInternalRPC
impl StructuralPartialEq for VeilidConfigInternalRPC
Auto Trait Implementations§
impl Freeze for VeilidConfigInternalRPC
impl RefUnwindSafe for VeilidConfigInternalRPC
impl Send for VeilidConfigInternalRPC
impl Sync for VeilidConfigInternalRPC
impl Unpin for VeilidConfigInternalRPC
impl UnsafeUnpin for VeilidConfigInternalRPC
impl UnwindSafe for VeilidConfigInternalRPC
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more