pub struct StationOutboundPacket {
pub source_station: StationId,
pub target_station: StationId,
pub bytes: Vec<u8>,
}Expand description
Outbound station-to-station packet after wire encoding.
Fields§
§source_station: StationIdSource station.
target_station: StationIdTarget station.
bytes: Vec<u8>Encoded bytes.
Trait Implementations§
Source§impl Clone for StationOutboundPacket
impl Clone for StationOutboundPacket
Source§fn clone(&self) -> StationOutboundPacket
fn clone(&self) -> StationOutboundPacket
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 StationOutboundPacket
impl Debug for StationOutboundPacket
impl Eq for StationOutboundPacket
Source§impl PartialEq for StationOutboundPacket
impl PartialEq for StationOutboundPacket
impl StructuralPartialEq for StationOutboundPacket
Auto Trait Implementations§
impl Freeze for StationOutboundPacket
impl RefUnwindSafe for StationOutboundPacket
impl Send for StationOutboundPacket
impl Sync for StationOutboundPacket
impl Unpin for StationOutboundPacket
impl UnsafeUnpin for StationOutboundPacket
impl UnwindSafe for StationOutboundPacket
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