(&self)
| 102 | |
| 103 | impl FutureState { |
| 104 | fn as_str(&self) -> &'static str { |
| 105 | match self { |
| 106 | FutureState::Pending => "PENDING", |
| 107 | FutureState::Cancelled => "CANCELLED", |
| 108 | FutureState::Finished => "FINISHED", |
| 109 | } |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | /// asyncio.Future implementation |
no outgoing calls
no test coverage detected