/smoltcp-0.9.1/src/phy/ |
D | fuzz_injector.rs | 87 pub struct RxToken<'a, Rx: phy::RxToken, F: Fuzzer + 'a> { 88 fuzzer: &'a F, 93 fn consume<R, F>(self, f: F) -> R in consume() 95 F: FnOnce(&mut [u8]) -> R, in consume() 105 pub struct TxToken<'a, Tx: phy::TxToken, F: Fuzzer + 'a> { 106 fuzzer: &'a F, 111 fn consume<R, F>(self, len: usize, f: F) -> R in consume() 113 F: FnOnce(&mut [u8]) -> R, in consume()
|
D | loopback.rs | 63 fn consume<R, F>(mut self, f: F) -> R in consume() 65 F: FnOnce(&mut [u8]) -> R, in consume() 78 fn consume<R, F>(self, len: usize, f: F) -> R in consume() 80 F: FnOnce(&mut [u8]) -> R, in consume()
|
D | tuntap_interface.rs | 84 fn consume<R, F>(mut self, f: F) -> R in consume() 86 F: FnOnce(&mut [u8]) -> R, in consume() 98 fn consume<R, F>(self, len: usize, f: F) -> R in consume() 100 F: FnOnce(&mut [u8]) -> R, in consume()
|
D | raw_socket.rs | 102 fn consume<R, F>(mut self, f: F) -> R in consume() 104 F: FnOnce(&mut [u8]) -> R, in consume() 116 fn consume<R, F>(self, len: usize, f: F) -> R in consume() 118 F: FnOnce(&mut [u8]) -> R, in consume()
|
D | tracer.rs | 95 fn consume<R, F>(self, f: F) -> R in consume() 97 F: FnOnce(&mut [u8]) -> R, in consume() 122 fn consume<R, F>(self, len: usize, f: F) -> R in consume() 124 F: FnOnce(&mut [u8]) -> R, in consume()
|
D | mod.rs | 339 fn consume<R, F>(self, f: F) -> R in consume() 341 F: FnOnce(&mut [u8]) -> R; in consume() 352 fn consume<R, F>(self, len: usize, f: F) -> R in consume() 354 F: FnOnce(&mut [u8]) -> R; in consume()
|
D | fault_injector.rs | 271 fn consume<R, F>(self, f: F) -> R in consume() 273 F: FnOnce(&mut [u8]) -> R, in consume() 289 fn consume<R, F>(mut self, len: usize, f: F) -> R in consume() 291 F: FnOnce(&mut [u8]) -> R, in consume()
|
D | pcap_writer.rs | 222 fn consume<R, F: FnOnce(&mut [u8]) -> R>(self, f: F) -> R { in consume() 245 fn consume<R, F>(self, len: usize, f: F) -> R in consume() 247 F: FnOnce(&mut [u8]) -> R, in consume()
|
/smoltcp-0.9.1/src/iface/ |
D | socket_meta.rs | 48 pub(crate) fn poll_at<F>(&self, socket_poll_at: PollAt, has_neighbor: F) -> PollAt in poll_at() 50 F: Fn(IpAddress) -> bool, in poll_at() 59 pub(crate) fn egress_permitted<F>(&mut self, timestamp: Instant, has_neighbor: F) -> bool in egress_permitted() 61 F: Fn(IpAddress) -> bool, in egress_permitted()
|
D | route.rs | 72 pub fn update<F: FnOnce(&mut Vec<Route, IFACE_MAX_ROUTE_COUNT>)>(&mut self, f: F) { in update() argument
|
/smoltcp-0.9.1/src/storage/ |
D | ring_buffer.rs | 119 pub fn enqueue_one_with<'b, R, E, F>(&'b mut self, f: F) -> Result<Result<R, E>, Full> in enqueue_one_with() 121 F: FnOnce(&'b mut T) -> Result<R, E>, in enqueue_one_with() 145 pub fn dequeue_one_with<'b, R, E, F>(&'b mut self, f: F) -> Result<Result<R, E>, Empty> in dequeue_one_with() 147 F: FnOnce(&'b mut T) -> Result<R, E>, in dequeue_one_with() 181 pub fn enqueue_many_with<'b, R, F>(&'b mut self, f: F) -> (usize, R) in enqueue_many_with() 183 F: FnOnce(&'b mut [T]) -> (usize, R), in enqueue_many_with() 239 pub fn dequeue_many_with<'b, R, F>(&'b mut self, f: F) -> (usize, R) in dequeue_many_with() 241 F: FnOnce(&'b mut [T]) -> (usize, R), in dequeue_many_with()
|
D | packet_buffer.rs | 122 pub fn enqueue_with_infallible<'b, F>( in enqueue_with_infallible() 126 f: F, in enqueue_with_infallible() argument 129 F: FnOnce(&'b mut [u8]) -> usize, in enqueue_with_infallible() 180 pub fn dequeue_with<'c, R, E, F>(&'c mut self, f: F) -> Result<Result<R, E>, Empty> in dequeue_with() 182 F: FnOnce(&mut H, &'c mut [u8]) -> Result<R, E>, in dequeue_with()
|
/smoltcp-0.9.1/src/iface/interface/ |
D | ethernet.rs | 52 pub(super) fn dispatch_ethernet<Tx, F>( in dispatch_ethernet() 56 f: F, in dispatch_ethernet() argument 60 F: FnOnce(EthernetFrame<&mut [u8]>), in dispatch_ethernet()
|
D | tests.rs | 126 fn consume<R, F>(self, len: usize, f: F) -> R in consume() 128 F: FnOnce(&mut [u8]) -> R, in consume()
|
D | mod.rs | 646 pub fn update_ip_addrs<F: FnOnce(&mut Vec<IpCidr, IFACE_MAX_ADDR_COUNT>)>(&mut self, f: F) { in update_ip_addrs() argument
|
/smoltcp-0.9.1/examples/ |
D | utils.rs | 22 pub fn setup_logging_with_clock<F>(filter: &str, since_startup: F) in setup_logging_with_clock() 24 F: Fn() -> Instant + Send + Sync + 'static, in setup_logging_with_clock()
|
/smoltcp-0.9.1/src/ |
D | parsers.rs | 50 fn try_do<F, T>(&mut self, f: F) -> Option<T> in try_do() argument 52 F: FnOnce(&mut Parser<'a>) -> Result<T>, in try_do() 72 fn until_eof<F, T>(&mut self, f: F) -> Result<T> in until_eof() argument 74 F: FnOnce(&mut Parser<'a>) -> Result<T>, in until_eof()
|
/smoltcp-0.9.1/src/socket/ |
D | udp.rs | 266 pub fn send_with<F>( in send_with() 270 f: F, in send_with() argument 273 F: FnOnce(&mut [u8]) -> usize, in send_with() 424 pub(crate) fn dispatch<F, E>(&mut self, cx: &mut Context, emit: F) -> Result<(), E> in dispatch() argument 426 F: FnOnce(&mut Context, (IpRepr, UdpRepr, &[u8])) -> Result<(), E>, in dispatch()
|
D | raw.rs | 195 pub fn send_with<F>(&mut self, max_size: usize, f: F) -> Result<usize, SendError> in send_with() 197 F: FnOnce(&mut [u8]) -> usize, in send_with() 320 pub(crate) fn dispatch<F, E>(&mut self, cx: &mut Context, emit: F) -> Result<(), E> in dispatch() argument 322 F: FnOnce(&mut Context, (IpRepr, &[u8])) -> Result<(), E>, in dispatch()
|
D | icmp.rs | 313 pub fn send_with<F>( in send_with() 317 f: F, in send_with() argument 320 F: FnOnce(&mut [u8]) -> usize, in send_with() 483 pub(crate) fn dispatch<F, E>(&mut self, cx: &mut Context, emit: F) -> Result<(), E> in dispatch() argument 485 F: FnOnce(&mut Context, (IpRepr, IcmpRepr)) -> Result<(), E>, in dispatch()
|
D | dns.rs | 503 pub(crate) fn dispatch<F, E>(&mut self, cx: &mut Context, emit: F) -> Result<(), E> in dispatch() argument 505 F: FnOnce(&mut Context, (IpRepr, UdpRepr, &[u8])) -> Result<(), E>, in dispatch()
|
D | tcp.rs | 992 fn send_impl<'b, F, R>(&'b mut self, f: F) -> Result<R, SendError> in send_impl() argument 994 F: FnOnce(&'b mut SocketBuffer<'a>) -> (usize, R), in send_impl() 1025 pub fn send<'b, F, R>(&'b mut self, f: F) -> Result<R, SendError> in send() argument 1027 F: FnOnce(&'b mut [u8]) -> (usize, R), in send() 1059 fn recv_impl<'b, F, R>(&'b mut self, f: F) -> Result<R, RecvError> in recv_impl() argument 1061 F: FnOnce(&'b mut SocketBuffer<'a>) -> (usize, R), in recv_impl() 1089 pub fn recv<'b, F, R>(&'b mut self, f: F) -> Result<R, RecvError> in recv() argument 1091 F: FnOnce(&'b mut [u8]) -> (usize, R), in recv() 1960 pub(crate) fn dispatch<F, E>(&mut self, cx: &mut Context, emit: F) -> Result<(), E> in dispatch() argument 1962 F: FnOnce(&mut Context, (IpRepr, TcpRepr)) -> Result<(), E>, in dispatch() [all …]
|
D | dhcpv4.rs | 500 pub(crate) fn dispatch<F, E>(&mut self, cx: &mut Context, emit: F) -> Result<(), E> in dispatch() argument 502 F: FnOnce(&mut Context, (Ipv4Repr, UdpRepr, DhcpRepr)) -> Result<(), E>, in dispatch()
|