pub struct NetworkMessageMut<'a> {
pub body: NetworkBodyMut<'a>,
pub reliability: Reliability,
}
Fields§
§body: NetworkBodyMut<'a>
§reliability: Reliability
Implementations§
Source§impl NetworkMessageMut<'_>
impl NetworkMessageMut<'_>
pub fn as_mut(&mut self) -> NetworkMessageMut<'_>
Trait Implementations§
Source§impl<'a> Debug for NetworkMessageMut<'a>
impl<'a> Debug for NetworkMessageMut<'a>
Source§impl Display for NetworkMessageMut<'_>
impl Display for NetworkMessageMut<'_>
Source§impl NetworkMessageExt for NetworkMessageMut<'_>
impl NetworkMessageExt for NetworkMessageMut<'_>
fn is_reliable(&self) -> bool
fn is_express(&self) -> bool
fn congestion_control(&self) -> CongestionControl
fn is_droppable(&self) -> bool
fn priority(&self) -> Priority
fn wire_expr(&self) -> Option<&WireExpr<'_>>
fn as_ref(&self) -> NetworkMessageRef<'_>
fn to_owned(&self) -> NetworkMessage
Source§impl<'a> PartialEq for NetworkMessageMut<'a>
impl<'a> PartialEq for NetworkMessageMut<'a>
impl<'a> Eq for NetworkMessageMut<'a>
impl<'a> StructuralPartialEq for NetworkMessageMut<'a>
Auto Trait Implementations§
impl<'a> Freeze for NetworkMessageMut<'a>
impl<'a> !RefUnwindSafe for NetworkMessageMut<'a>
impl<'a> Send for NetworkMessageMut<'a>
impl<'a> Sync for NetworkMessageMut<'a>
impl<'a> Unpin for NetworkMessageMut<'a>
impl<'a> !UnwindSafe for NetworkMessageMut<'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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more