Enum steamworks::SendType
source · pub enum SendType {
Unreliable,
UnreliableNoDelay,
Reliable,
ReliableWithBuffering,
}
Expand description
The method used to send a packet
Variants§
Unreliable
Send the packet directly over udp.
Can’t be larger than 1200 bytes
UnreliableNoDelay
Like Unreliable
but doesn’t buffer packets
sent before the connection has started.
Reliable
Reliable packet sending.
Can’t be larger than 1 megabyte.
ReliableWithBuffering
Like Reliable
but applies the nagle
algorithm to packets being sent
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SendType
impl Send for SendType
impl Sync for SendType
impl Unpin for SendType
impl UnwindSafe for SendType
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