Home
last modified time | relevance | path

Searched defs:a (Results 1 – 21 of 21) sorted by relevance

/smoltcp-0.9.1/src/iface/
Dsocket_set.rs48 pub fn new<SocketsT>(sockets: SocketsT) -> SocketSet<'a> in new()
50 SocketsT: Into<ManagedSlice<'a, SocketStorage<'a>>>, in new()
61 fn put<'a>(index: usize, slot: &mut SocketStorage<'a>, socket: Socket<'a>) -> SocketHandle { in add()
122 pub fn remove(&mut self, handle: SocketHandle) -> Socket<'a> { in remove()
131 pub fn iter(&self) -> impl Iterator<Item = (SocketHandle, &Socket<'a>)> { in iter()
136 pub fn iter_mut(&mut self) -> impl Iterator<Item = (SocketHandle, &mut Socket<'a>)> { in iter_mut()
/smoltcp-0.9.1/src/wire/
Dpretty_print.rs102 pub fn new(prefix: &'static str, buffer: &'a dyn AsRef<[u8]>) -> PrettyPrinter<'a, T> { in new()
113 pub fn print(printable: &'a T) -> PrettyPrinter<'a, T> { in print()
Ddns.rs295 pub fn parse(buffer: &'a [u8]) -> Result<(&'a [u8], Question<'a>)> { in parse()
336 pub fn parse(type_: Type, data: &'a [u8]) -> Result<RecordData<'a>> { in parse()
370 pub fn parse(buffer: &'a [u8]) -> Result<(&'a [u8], Record<'a>)> { in parse()
Dndisc.rs518 fn create_repr<'a>() -> Icmpv6Repr<'a> { in create_repr()
Dmld.rs422 fn create_repr<'a>(ty: Message) -> Icmpv6Repr<'a> { in create_repr()
Dipv6option.rs299 pub fn new(data: &'a [u8], length: usize) -> Ipv6OptionsIterator<'a> { in new()
Dicmpv6.rs552 fn create_packet_from_payload<'a, T>(packet: &Packet<&'a T>) -> Result<(&'a [u8], Ipv6Repr)> in parse()
Dtcp.rs607 pub fn parse(buffer: &'a [u8]) -> Result<(&'a [u8], TcpOption<'a>)> { in parse()
/smoltcp-0.9.1/src/storage/
Dpacket_buffer.rs53 pub fn new<MS, PS>(metadata_storage: MS, payload_storage: PS) -> PacketBuffer<'a, H> in new()
55 MS: Into<ManagedSlice<'a, PacketMetadata<H>>>, in new()
56 PS: Into<ManagedSlice<'a, u8>>, in new()
Dring_buffer.rs37 pub fn new<S>(storage: S) -> RingBuffer<'a, T> in new()
39 S: Into<ManagedSlice<'a, T>>, in new()
405 fn from(slice: ManagedSlice<'a, T>) -> RingBuffer<'a, T> { in from() argument
Dassembler.rs308 fn new(assembler: &'a Assembler, offset: usize) -> AssemblerIter<'a> { in new()
/smoltcp-0.9.1/src/iface/interface/
Dipv4.rs14 pub(super) fn process_ipv4<'a, T: AsRef<[u8]> + ?Sized>( in process_ipv4()
19 ) -> Option<IpPacket<'a>> { in process_ipv4()
Dtests.rs25 fn create<'a>(medium: Medium) -> (Interface, SocketSet<'a>, Loopback) { in create()
38 fn create_ip<'a>() -> (Interface, SocketSet<'a>, Loopback) { in create_ip()
63 fn create_ethernet<'a>() -> (Interface, SocketSet<'a>, Loopback) { in create_ethernet()
89 fn create_ieee802154<'a>() -> (Interface, SocketSet<'a>, Loopback) { in create_ieee802154()
/smoltcp-0.9.1/src/socket/
Draw.rs67 rx_buffer: PacketBuffer<'a>, in new()
68 tx_buffer: PacketBuffer<'a>, in new()
69 ) -> Socket<'a> { in new()
Dmod.rs95 fn upcast(self) -> Socket<'a>; in upcast()
Ddns.rs130 Q: Into<ManagedSlice<'a, Option<DnsQuery>>>, in new()
658 fn copy_name<'a, const N: usize>( in copy_name()
Dudp.rs60 pub fn new(rx_buffer: PacketBuffer<'a>, tx_buffer: PacketBuffer<'a>) -> Socket<'a> { in new()
Dicmp.rs96 pub fn new(rx_buffer: PacketBuffer<'a>, tx_buffer: PacketBuffer<'a>) -> Socket<'a> { in new()
Ddhcpv4.rs206 pub fn set_outgoing_options(&mut self, options: &'a [DhcpOption<'a>]) { in set_outgoing_options()
Dtcp.rs433 T: Into<SocketBuffer<'a>>, in new()
/smoltcp-0.9.1/src/
Dparsers.rs25 fn new(data: &'a str) -> Parser<'a> { in new()