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