Struct ExBandwidthLimit
pub struct ExBandwidthLimit<'ex> { /* private fields */ }Expand description
Default-param extender for ENetConnection::bandwidth_limit_ex.
Implementations§
§impl<'ex> ExBandwidthLimit<'ex>
impl<'ex> ExBandwidthLimit<'ex>
pub fn in_bandwidth(self, in_bandwidth: i32) -> ExBandwidthLimit<'ex>
pub fn out_bandwidth(self, out_bandwidth: i32) -> ExBandwidthLimit<'ex>
pub fn done(self)
Auto Trait Implementations§
impl<'ex> Freeze for ExBandwidthLimit<'ex>
impl<'ex> RefUnwindSafe for ExBandwidthLimit<'ex>
impl<'ex> !Send for ExBandwidthLimit<'ex>
impl<'ex> !Sync for ExBandwidthLimit<'ex>
impl<'ex> Unpin for ExBandwidthLimit<'ex>
impl<'ex> !UnwindSafe for ExBandwidthLimit<'ex>
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