pub struct CompiledStreamProfile { /* private fields */ }Expand description
Deterministic representation of a validated stream profile.
Users consume this via the SDK to bind runtime behavior and inspect config_id.
Implementations§
Source§impl CompiledStreamProfile
impl CompiledStreamProfile
Sourcepub fn latency_weight(&self) -> u8
pub fn latency_weight(&self) -> u8
Latency weight applied by the runtime.
Sourcepub fn resilience_weight(&self) -> u8
pub fn resilience_weight(&self) -> u8
Resilience weight applied by the runtime.
Sourcepub fn intent(&self) -> StreamIntent
pub fn intent(&self) -> StreamIntent
Returns the declared intent of the compiled profile.
Trait Implementations§
Source§impl Clone for CompiledStreamProfile
impl Clone for CompiledStreamProfile
Source§fn clone(&self) -> CompiledStreamProfile
fn clone(&self) -> CompiledStreamProfile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CompiledStreamProfile
impl RefUnwindSafe for CompiledStreamProfile
impl Send for CompiledStreamProfile
impl Sync for CompiledStreamProfile
impl Unpin for CompiledStreamProfile
impl UnwindSafe for CompiledStreamProfile
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