Home
last modified time | relevance | path

Searched refs:State (Results 1 – 5 of 5) sorted by relevance

/smoltcp-0.9.1/src/socket/
Dtcp.rs63 pub enum State { enum
77 impl fmt::Display for State { implementation
80 State::Closed => write!(f, "CLOSED"), in fmt()
81 State::Listen => write!(f, "LISTEN"), in fmt()
82 State::SynSent => write!(f, "SYN-SENT"), in fmt()
83 State::SynReceived => write!(f, "SYN-RECEIVED"), in fmt()
84 State::Established => write!(f, "ESTABLISHED"), in fmt()
85 State::FinWait1 => write!(f, "FIN-WAIT-1"), in fmt()
86 State::FinWait2 => write!(f, "FIN-WAIT-2"), in fmt()
87 State::CloseWait => write!(f, "CLOSE-WAIT"), in fmt()
[all …]
Ddns.rs55 state: State,
62 fn set_state(&mut self, state: State) { in set_state() argument
71 enum State { enum
266 state: State::Pending(PendingQuery { in start_query_raw()
297 State::Pending(_) => Err(GetQueryResultError::Pending), in get_query_result()
299 State::Completed(q) => { in get_query_result()
304 State::Failure => { in get_query_result()
391 if let State::Pending(pq) = &mut q.state { in process()
398 q.set_state(State::Failure); in process()
489 State::Failure in process()
[all …]
/smoltcp-0.9.1/examples/
Dhttpclient.rs67 enum State { in main() enum
72 let mut state = State::Connect; in main()
82 State::Connect if !socket.is_active() => { in main()
88 State::Request in main()
90 State::Request if socket.may_send() => { in main()
100 State::Response in main()
102 State::Response if socket.can_recv() => { in main()
109 State::Response in main()
111 State::Response if !socket.may_recv() => { in main()
/smoltcp-0.9.1/src/wire/
Dipv6.rs266 enum State { in fmt() enum
274 let mut state = State::Head; in fmt()
279 (0, &State::Head) | (0, &State::HeadBody) => { in fmt()
281 State::Tail in fmt()
285 (0, &State::Tail) => State::Tail, in fmt()
288 (_, &State::Head) => { in fmt()
290 State::HeadBody in fmt()
292 (_, &State::Tail) => { in fmt()
294 State::TailBody in fmt()
298 (_, &State::HeadBody) | (_, &State::TailBody) => { in fmt()
/smoltcp-0.9.1/src/phy/
Dfault_injector.rs31 struct State { struct
38 impl State { argument
96 state: State,
106 state: State { in new()
281 state: &'a mut State,