pub struct LogStreamLinkConfig {
pub mtu_bytes: u16,
pub bitrate_bps: u64,
pub memory_budget_kib: u32,
pub max_latency_ms: u32,
pub burst_packets: u32,
}Expand description
Physical-link assumptions and sender bounds.
Fields§
§mtu_bytes: u16§bitrate_bps: u64§memory_budget_kib: u32§max_latency_ms: u32§burst_packets: u32Trait Implementations§
Source§impl Clone for LogStreamLinkConfig
impl Clone for LogStreamLinkConfig
Source§fn clone(&self) -> LogStreamLinkConfig
fn clone(&self) -> LogStreamLinkConfig
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 moreimpl Copy for LogStreamLinkConfig
Source§impl Debug for LogStreamLinkConfig
impl Debug for LogStreamLinkConfig
Source§impl<'de> Deserialize<'de> for LogStreamLinkConfig
impl<'de> Deserialize<'de> for LogStreamLinkConfig
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 LogStreamLinkConfig
Source§impl PartialEq for LogStreamLinkConfig
impl PartialEq for LogStreamLinkConfig
Source§impl Serialize for LogStreamLinkConfig
impl Serialize for LogStreamLinkConfig
impl StructuralPartialEq for LogStreamLinkConfig
Auto Trait Implementations§
impl Freeze for LogStreamLinkConfig
impl RefUnwindSafe for LogStreamLinkConfig
impl Send for LogStreamLinkConfig
impl Sync for LogStreamLinkConfig
impl Unpin for LogStreamLinkConfig
impl UnsafeUnpin for LogStreamLinkConfig
impl UnwindSafe for LogStreamLinkConfig
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
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§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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> GetTypeRegistration for T
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