Struct stabilizer::net::data_stream::DataStream
source · pub struct DataStream { /* private fields */ }
Expand description
The “consumer” portion of the data stream.
§Note
This is responsible for consuming data and sending it over UDP.
Implementations§
source§impl DataStream
impl DataStream
sourcepub fn set_remote(&mut self, remote: SocketAddr)
pub fn set_remote(&mut self, remote: SocketAddr)
Auto Trait Implementations§
impl Freeze for DataStream
impl !RefUnwindSafe for DataStream
impl Send for DataStream
impl !Sync for DataStream
impl Unpin for DataStream
impl !UnwindSafe for DataStream
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