[−][src]Enum reliudp::MessageType
Represents the type of message you are able to send (key, forgettable, ...)
Variants
Forgettable message type.
If the message did not make it through the end the first time, abandon this message.
KeyExpirableMessage(u32)
A Key but expirable message.
The parameter holds the number of frames this message expires after. If this parameter is 0, the behavior is the same as Forgettable.
As long as this message is still valid, it will try to re-send messages if Socket suspects it did not get the message in time.
A key message that should arrive everytime.
A long at the socket doesn't receive the correct ack for this message, this message will be re-sent.
Methods
impl MessageType
[src]
Trait Implementations
impl Clone for MessageType
[src]
fn clone(&self) -> MessageType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for MessageType
[src]
impl Debug for MessageType
[src]
Auto Trait Implementations
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl UnwindSafe for MessageType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,