pub struct StreamSettings {
pub items: NonZero<usize>,
pub bytes: NonZero<usize>,
}Fields§
§items: NonZero<usize>§bytes: NonZero<usize>Trait Implementations§
Source§impl Clone for StreamSettings
impl Clone for StreamSettings
Source§fn clone(&self) -> StreamSettings
fn clone(&self) -> StreamSettings
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 StreamSettings
Auto Trait Implementations§
impl Freeze for StreamSettings
impl RefUnwindSafe for StreamSettings
impl Send for StreamSettings
impl Sync for StreamSettings
impl Unpin for StreamSettings
impl UnsafeUnpin for StreamSettings
impl UnwindSafe for StreamSettings
Blanket Implementations§
impl<T> Allocation for T
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