pub struct StationInboundPacket {
pub source_station: StationId,
pub target_station: StationId,
pub bytes: Vec<u8>,
}Expand description
Inbound station-to-station packet before wire decoding.
Fields§
§source_station: StationIdSource station.
target_station: StationIdTarget station.
bytes: Vec<u8>Encoded bytes.
Trait Implementations§
Source§impl Clone for StationInboundPacket
impl Clone for StationInboundPacket
Source§fn clone(&self) -> StationInboundPacket
fn clone(&self) -> StationInboundPacket
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StationInboundPacket
impl Debug for StationInboundPacket
impl Eq for StationInboundPacket
Source§impl PartialEq for StationInboundPacket
impl PartialEq for StationInboundPacket
impl StructuralPartialEq for StationInboundPacket
Auto Trait Implementations§
impl Freeze for StationInboundPacket
impl RefUnwindSafe for StationInboundPacket
impl Send for StationInboundPacket
impl Sync for StationInboundPacket
impl Unpin for StationInboundPacket
impl UnsafeUnpin for StationInboundPacket
impl UnwindSafe for StationInboundPacket
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