Struct rudp::SetSender [−][src]
pub struct SetSender<'a, U: UdpLike + 'a> { /* fields omitted */ }
An Endpoint can send payloads of data. However, all messages sent by a single
SetSender
object of the endpoint are semantically grouped together into an
unordered set. A new set cannot be defined until the current one is dropped.
Note that the concept of sending
Trait Implementations
impl<'a, U: Debug + UdpLike + 'a> Debug for SetSender<'a, U>
[src]
impl<'a, U: Debug + UdpLike + 'a> Debug for SetSender<'a, U>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a, U> Sender for SetSender<'a, U> where
U: UdpLike + 'a,
[src]
impl<'a, U> Sender for SetSender<'a, U> where
U: UdpLike + 'a,
fn send_written(&mut self, guarantee: Guarantee) -> Result<usize>
[src]
fn send_written(&mut self, guarantee: Guarantee) -> Result<usize>
fn clear_written(&mut self)
[src]
fn clear_written(&mut self)
fn write_send(&mut self, data: &[u8], g: Guarantee) -> Result<(usize, usize)>
[src]
fn write_send(&mut self, data: &[u8], g: Guarantee) -> Result<(usize, usize)>
fn send_payload(&mut self, data: &[u8], g: Guarantee) -> Result<usize>
[src]
fn send_payload(&mut self, data: &[u8], g: Guarantee) -> Result<usize>
impl<'a, U> Drop for SetSender<'a, U> where
U: UdpLike,
[src]
impl<'a, U> Drop for SetSender<'a, U> where
U: UdpLike,
impl<'a, U> Write for SetSender<'a, U> where
U: UdpLike,
[src]
impl<'a, U> Write for SetSender<'a, U> where
U: UdpLike,
fn write(&mut self, bytes: &[u8]) -> Result<usize>
[src]
fn write(&mut self, bytes: &[u8]) -> Result<usize>
Write a buffer into this object, returning how many bytes were written. Read more
fn flush(&mut self) -> Result<()>
[src]
fn flush(&mut self) -> Result<()>
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
1.0.0[src]
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
1.0.0
[src]Attempts to write an entire buffer into this write. Read more
fn write_fmt(&mut self, fmt: Arguments) -> Result<(), Error>
1.0.0[src]
fn write_fmt(&mut self, fmt: Arguments) -> Result<(), Error>
1.0.0
[src]Writes a formatted string into this writer, returning any error encountered. Read more
fn by_ref(&mut self) -> &mut Self
1.0.0[src]
fn by_ref(&mut self) -> &mut Self
1.0.0
[src]Creates a "by reference" adaptor for this instance of Write
. Read more