Home
last modified time | relevance | path

Searched defs:Result (Results 1 – 25 of 42) sorted by relevance

12

/smoltcp-0.9.1/src/wire/
Dpretty_print.rs62 pub fn increase(&mut self, f: &mut fmt::Formatter) -> fmt::Result { in increase()
70 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
90 ) -> fmt::Result; in pretty_print()
123 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
Dicmpv4.rs36 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
92 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
142 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
207 pub fn check_len(&self) -> Result<()> { in check_len()
557 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
578 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
619 ) -> fmt::Result { in pretty_print()
Digmp.rs41 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
73 pub fn check_len(&self) -> Result<()> { in check_len()
325 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
334 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
365 ) -> fmt::Result { in pretty_print()
Dmod.rs267 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
272 pub type Result<T> = core::result::Result<T, Error>; typedef
337 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { in fmt()
429 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { in fmt()
Dethernet.rs16 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
72 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
119 pub fn check_len(&self) -> Result<()> { in check_len()
213 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
231 ) -> fmt::Result { in pretty_print()
Dipv6option.rs15 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
41 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
111 pub fn check_len(&self) -> Result<()> { in check_len()
205 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
342 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
Dip.rs38 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
65 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
245 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
353 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
425 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
496 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
791 pub(crate) fn format_checksum(f: &mut fmt::Formatter, correct: bool) -> fmt::Result { in format_checksum()
807 ) -> fmt::Result { in pretty_print_ip_payload()
Dudp.rs58 pub fn check_len(&self) -> Result<()> { in check_len()
296 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
309 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
321 ) -> fmt::Result { in pretty_print()
Darp.rs91 pub fn check_len(&self) -> Result<()> { in check_len()
323 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
352 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
377 ) -> fmt::Result { in pretty_print()
Dipv6fragment.rs55 pub fn check_len(&self) -> Result<()> { in check_len()
149 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
206 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
Dipv6hopbyhop.rs73 pub fn check_len(&self) -> Result<()> { in check_len()
148 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
204 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
Dndiscoption.rs28 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
174 pub fn check_len(&self) -> Result<()> { in check_len()
384 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
582 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
618 ) -> fmt::Result { in pretty_print()
Dipv6routing.rs38 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
166 pub fn check_len(&self) -> Result<()> { in check_len()
386 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
506 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
Dipv6.rs248 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
381 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
467 pub fn check_len(&self) -> Result<()> { in check_len()
639 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
711 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
729 ) -> fmt::Result { in pretty_print()
Dicmpv6.rs82 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
123 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
155 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
176 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
266 pub fn check_len(&self) -> Result<()> { in check_len()
Dieee802154.rs22 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
57 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
171 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
259 pub fn check_len(&self) -> Result<()> { in check_len()
740 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
Dipv4.rs128 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
269 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
332 pub fn check_len(&self) -> Result<()> { in check_len()
704 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
749 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
765 ) -> fmt::Result { in pretty_print()
/smoltcp-0.9.1/src/
Dparsers.rs17 type Result<T> = result::Result<T, ()>; typedef
64 fn accept_eof(&mut self) -> Result<()> { in accept_eof()
81 fn accept_char(&mut self, chr: u8) -> Result<()> { in accept_char()
89 fn accept_str(&mut self, string: &[u8]) -> Result<()> { in accept_str()
151 fn accept_ipv4_mapped_ipv6_part(&mut self, parts: &mut [u16], idx: &mut usize) -> Result<()> { in accept_ipv4_mapped_ipv6_part()
168 ) -> Result<()> {
/smoltcp-0.9.1/src/iface/
Dfragmentation.rs66 pub(crate) fn set_total_size(&mut self, size: usize) -> Result<(), AssemblerError> { in set_total_size()
96 ) -> Result<(), AssemblerError> { in add_with()
120 pub(crate) fn add(&mut self, data: &[u8], offset: usize) -> Result<(), AssemblerError> { in add()
/smoltcp-0.9.1/utils/
Dpacket2pcap.rs14 ) -> io::Result<()> { in convert()
/smoltcp-0.9.1/src/socket/
Dudp.rs146 pub fn bind<T: Into<IpListenEndpoint>>(&mut self, endpoint: T) -> Result<(), BindError> { in bind()
306 ) -> Result<(), SendError> { in send_slice()
424 pub(crate) fn dispatch<F, E>(&mut self, cx: &mut Context, emit: F) -> Result<(), E> in dispatch()
426 F: FnOnce(&mut Context, (IpRepr, UdpRepr, &[u8])) -> Result<(), E>, in dispatch()
Dicmp.rs225 pub fn bind<T: Into<Endpoint>>(&mut self, endpoint: T) -> Result<(), BindError> { in bind()
338 pub fn send_slice(&mut self, data: &[u8], endpoint: IpAddress) -> Result<(), SendError> { in send_slice()
483 pub(crate) fn dispatch<F, E>(&mut self, cx: &mut Context, emit: F) -> Result<(), E> in dispatch()
485 F: FnOnce(&mut Context, (IpRepr, IcmpRepr)) -> Result<(), E>, in dispatch()
Ddns.rs503 pub(crate) fn dispatch<F, E>(&mut self, cx: &mut Context, emit: F) -> Result<(), E> in dispatch()
505 F: FnOnce(&mut Context, (IpRepr, UdpRepr, &[u8])) -> Result<(), E>, in dispatch()
661 ) -> Result<(), wire::Error> { in copy_name()
Draw.rs217 pub fn send_slice(&mut self, data: &[u8]) -> Result<(), SendError> { in send_slice()
320 pub(crate) fn dispatch<F, E>(&mut self, cx: &mut Context, emit: F) -> Result<(), E> in dispatch()
322 F: FnOnce(&mut Context, (IpRepr, &[u8])) -> Result<(), E>, in dispatch()
/smoltcp-0.9.1/src/iface/interface/
Dethernet.rs57 ) -> Result<(), DispatchError> in dispatch_ethernet()

12