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