pub struct StreamLimits {
pub max_bytes: usize,
}Fields§
§max_bytes: usizeTrait Implementations§
Source§impl Clone for StreamLimits
impl Clone for StreamLimits
impl Copy for StreamLimits
Source§impl Debug for StreamLimits
impl Debug for StreamLimits
Source§impl Default for StreamLimits
impl Default for StreamLimits
Source§impl From<EventLimits> for StreamLimits
impl From<EventLimits> for StreamLimits
Source§fn from(value: EventLimits) -> Self
fn from(value: EventLimits) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StreamLimits
impl RefUnwindSafe for StreamLimits
impl Send for StreamLimits
impl Sync for StreamLimits
impl Unpin for StreamLimits
impl UnsafeUnpin for StreamLimits
impl UnwindSafe for StreamLimits
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