Searched refs:Foo (Results 1 – 5 of 5) sorted by relevance
197 struct Foo { in stack_init_reuse() struct201 let mut slot: Pin<&mut StackInit<Foo>> = pin!(StackInit::uninit()); in stack_init_reuse()202 let value: Result<Pin<&mut Foo>, core::convert::Infallible> = in stack_init_reuse()203 slot.as_mut().init(crate::init!(Foo { in stack_init_reuse()209 let value: Result<Pin<&mut Foo>, core::convert::Infallible> = in stack_init_reuse()210 slot.as_mut().init(crate::init!(Foo { in stack_init_reuse()
67 /// Returns a new [`Foo`].76 pub fn f(x: i32) -> Foo {
96 struct Foo {102 let foo = pin_init!(Foo {108 `foo` now is of the type [`impl PinInit<Foo>`]. We can now use any smart pointer that we like109 (or just the stack) to actually initialize a `Foo`:112 let foo: Result<Pin<Box<Foo>>, AllocError> = Box::pin_init(foo);239 [`impl PinInit<Foo>`]: https://docs.rs/pin-init/latest/pin_init/trait.PinInit.html
150 /// Returns a new [`Foo`].159 pub fn f(x: i32) -> Foo {
323 tristate "IP: Foo (IP protocols) over UDP"326 Foo over UDP allows any IP protocol to be directly encapsulated