pub struct Other {
pub originating_entity_id: Option<EntityId>,
pub receiving_entity_id: Option<EntityId>,
pub body: Vec<u8>,
}Expand description
A PduBody implementation that contains the body of the PDU as raw bytes, in a vec.
It also extracts the (optional) originator and receiver of PDUs that convey an interaction between entities (such as Fire PDU), or at least can be attributed to a sending entity (such as EntityState PDU), based on the PduType.
This struct is used to provide access to the received data in not (yet) supported PDUs.
Fields§
§originating_entity_id: Option<EntityId>§receiving_entity_id: Option<EntityId>§body: Vec<u8>Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Other
impl Send for Other
impl Sync for Other
impl Unpin for Other
impl UnwindSafe for Other
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