pub enum NetActionResponseData {
Packet(PacketID),
StartedEpoch(Epoch),
FinishedEpoch(Epoch),
CancelledEpoch(Epoch, Vec<PacketID>),
None,
}Expand description
Data returned by a successful network action.
Variants§
Packet(PacketID)
A packet ID (returned by CreatePacket).
StartedEpoch(Epoch)
The started epoch (returned by StartEpoch, CreateAndStartEpoch).
FinishedEpoch(Epoch)
The finished epoch (returned by FinishEpoch).
CancelledEpoch(Epoch, Vec<PacketID>)
The cancelled epoch and IDs of destroyed packets (returned by CancelEpoch).
None
No specific data (returned by RunNetUntilBlocked, ConsumePacket, etc.).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NetActionResponseData
impl RefUnwindSafe for NetActionResponseData
impl Send for NetActionResponseData
impl Sync for NetActionResponseData
impl Unpin for NetActionResponseData
impl UnwindSafe for NetActionResponseData
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