Searched refs:downcast_mut (Results 1 – 5 of 5) sorted by relevance
99 fn downcast_mut<'c>(socket: &'c mut Socket<'a>) -> Option<&'c mut Self> in downcast_mut() method119 fn downcast_mut<'c>(socket: &'c mut Socket<'a>) -> Option<&'c mut Self> {
81 .find_map(|i| dhcpv4::Socket::downcast_mut(&mut i.socket)) in process_ipv4()250 .filter_map(|i| icmp::Socket::downcast_mut(&mut i.socket)) in process_icmpv4()
125 .filter_map(|i| icmp::Socket::downcast_mut(&mut i.socket)) in process_icmpv6()
1319 .filter_map(|i| raw::Socket::downcast_mut(&mut i.socket)) in raw_socket_filter()1368 .filter_map(|i| udp::Socket::downcast_mut(&mut i.socket)) in process_udp()1379 .filter_map(|i| dns::Socket::downcast_mut(&mut i.socket)) in process_udp()1436 .filter_map(|i| tcp::Socket::downcast_mut(&mut i.socket)) in process_tcp()
112 Some(item) => T::downcast_mut(&mut item.socket) in get_mut()