pub enum StreamLimitsError {
ByteLimitZero,
ByteLimitTooLarge,
ChunkBytesZero,
ChunkBytesTooLarge,
ChunkLimitZero,
ChunkLimitTooLarge,
ObservationLimitTooSmall,
ObservationLimitTooLarge,
ZeroProgressLimitTooLarge,
}Expand description
Invalid hard streaming limits.
Variants§
ByteLimitZero
The byte limit is zero.
ByteLimitTooLarge
The byte limit exceeds the global ceiling.
ChunkBytesZero
The chunk-size limit is zero.
ChunkBytesTooLarge
The chunk-size limit exceeds the global ceiling.
ChunkLimitZero
The chunk-count limit is zero.
ChunkLimitTooLarge
The chunk-count limit exceeds the global ceiling.
ObservationLimitTooSmall
The observation limit is zero or cannot admit every allowed chunk.
ObservationLimitTooLarge
The observation limit exceeds the global ceiling.
ZeroProgressLimitTooLarge
The zero-progress tolerance exceeds its global or observation bound.
Trait Implementations§
Source§impl Clone for StreamLimitsError
impl Clone for StreamLimitsError
Source§fn clone(&self) -> StreamLimitsError
fn clone(&self) -> StreamLimitsError
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 StreamLimitsError
Source§impl Debug for StreamLimitsError
impl Debug for StreamLimitsError
Source§impl Display for StreamLimitsError
impl Display for StreamLimitsError
impl Eq for StreamLimitsError
Source§impl Error for StreamLimitsError
impl Error for StreamLimitsError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for StreamLimitsError
impl PartialEq for StreamLimitsError
impl StructuralPartialEq for StreamLimitsError
Auto Trait Implementations§
impl Freeze for StreamLimitsError
impl RefUnwindSafe for StreamLimitsError
impl Send for StreamLimitsError
impl Sync for StreamLimitsError
impl Unpin for StreamLimitsError
impl UnsafeUnpin for StreamLimitsError
impl UnwindSafe for StreamLimitsError
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