Searched refs:Foo (Results 1 – 5 of 5) sorted by relevance
217 struct Foo { in stack_init_reuse() struct221 let mut slot: Pin<&mut StackInit<Foo>> = pin!(StackInit::uninit()); in stack_init_reuse()222 let value: Result<Pin<&mut Foo>, core::convert::Infallible> = in stack_init_reuse()223 slot.as_mut().init(crate::init!(Foo { in stack_init_reuse()229 let value: Result<Pin<&mut Foo>, core::convert::Infallible> = in stack_init_reuse()230 slot.as_mut().init(crate::init!(Foo { in stack_init_reuse()
134 /// Returns a new [`Foo`].143 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);238 [`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 {
322 tristate "IP: Foo (IP protocols) over UDP"325 Foo over UDP allows any IP protocol to be directly encapsulated