2
2
// Required methods
3
3
fn < a href ="#tymethod.poll_write " class ="fn "> poll_write</ a > (
4
4
self,
5
- cx: &mut < a class ="enum " href ="{{channel}}/core/option/enum.Option.html " title ="enum core::option::Option "> Option</ a > << a class ="struct " href ="{{channel}}/alloc/string/struct .String.html " title ="struct alloc::string::String "> String</ a > >,
5
+ cx: &mut < a class ="enum " href ="{{channel}}/core/option/enum.Option.html " title ="enum core::option::Option "> Option</ a > << a class ="type " href ="{{channel}}/alloc/string/type .String.html " title ="type alloc::string::String "> String</ a > >,
6
6
buf: &mut [< a class ="primitive " href ="{{channel}}/std/primitive.usize.html "> usize</ a > ],
7
7
) -> < a class ="enum " href ="{{channel}}/core/option/enum.Option.html " title ="enum core::option::Option "> Option</ a > << a class ="enum " href ="{{channel}}/core/result/enum.Result.html " title ="enum core::result::Result "> Result</ a > << a class ="primitive " href ="{{channel}}/std/primitive.usize.html "> usize</ a > , < a class ="struct " href ="struct.Error.html " title ="struct foo::Error "> Error</ a > >>;
8
- < span class ="item-spacer " /> fn < a href ="#tymethod.poll_flush " class ="fn "> poll_flush</ a > (self, cx: &mut < a class ="enum " href ="{{channel}}/core/option/enum.Option.html " title ="enum core::option::Option "> Option</ a > << a class ="struct " href ="{{channel}}/alloc/string/struct .String.html " title ="struct alloc::string::String "> String</ a > >) -> < a class ="enum " href ="{{channel}}/core/option/enum.Option.html " title ="enum core::option::Option "> Option</ a > << a class ="enum " href ="{{channel}}/core/result/enum.Result.html " title ="enum core::result::Result "> Result</ a > << a class ="primitive " href ="{{channel}}/std/primitive.unit.html "> ()</ a > , < a class ="struct " href ="struct.Error.html " title ="struct foo::Error "> Error</ a > >>;
9
- < span class ="item-spacer " /> fn < a href ="#tymethod.poll_close " class ="fn "> poll_close</ a > (self, cx: &mut < a class ="enum " href ="{{channel}}/core/option/enum.Option.html " title ="enum core::option::Option "> Option</ a > << a class ="struct " href ="{{channel}}/alloc/string/struct .String.html " title ="struct alloc::string::String "> String</ a > >) -> < a class ="enum " href ="{{channel}}/core/option/enum.Option.html " title ="enum core::option::Option "> Option</ a > << a class ="enum " href ="{{channel}}/core/result/enum.Result.html " title ="enum core::result::Result "> Result</ a > << a class ="primitive " href ="{{channel}}/std/primitive.unit.html "> ()</ a > , < a class ="struct " href ="struct.Error.html " title ="struct foo::Error "> Error</ a > >>;
8
+ < span class ="item-spacer " /> fn < a href ="#tymethod.poll_flush " class ="fn "> poll_flush</ a > (self, cx: &mut < a class ="enum " href ="{{channel}}/core/option/enum.Option.html " title ="enum core::option::Option "> Option</ a > << a class ="type " href ="{{channel}}/alloc/string/type .String.html " title ="type alloc::string::String "> String</ a > >) -> < a class ="enum " href ="{{channel}}/core/option/enum.Option.html " title ="enum core::option::Option "> Option</ a > << a class ="enum " href ="{{channel}}/core/result/enum.Result.html " title ="enum core::result::Result "> Result</ a > << a class ="primitive " href ="{{channel}}/std/primitive.unit.html "> ()</ a > , < a class ="struct " href ="struct.Error.html " title ="struct foo::Error "> Error</ a > >>;
9
+ < span class ="item-spacer " /> fn < a href ="#tymethod.poll_close " class ="fn "> poll_close</ a > (self, cx: &mut < a class ="enum " href ="{{channel}}/core/option/enum.Option.html " title ="enum core::option::Option "> Option</ a > << a class ="type " href ="{{channel}}/alloc/string/type .String.html " title ="type alloc::string::String "> String</ a > >) -> < a class ="enum " href ="{{channel}}/core/option/enum.Option.html " title ="enum core::option::Option "> Option</ a > << a class ="enum " href ="{{channel}}/core/result/enum.Result.html " title ="enum core::result::Result "> Result</ a > << a class ="primitive " href ="{{channel}}/std/primitive.unit.html "> ()</ a > , < a class ="struct " href ="struct.Error.html " title ="struct foo::Error "> Error</ a > >>;
10
10
11
11
// Provided method
12
12
fn < a href ="#method.poll_write_vectored " class ="fn "> poll_write_vectored</ a > (
13
13
self,
14
- cx: &mut < a class ="enum " href ="{{channel}}/core/option/enum.Option.html " title ="enum core::option::Option "> Option</ a > << a class ="struct " href ="{{channel}}/alloc/string/struct .String.html " title ="struct alloc::string::String "> String</ a > >,
14
+ cx: &mut < a class ="enum " href ="{{channel}}/core/option/enum.Option.html " title ="enum core::option::Option "> Option</ a > << a class ="type " href ="{{channel}}/alloc/string/type .String.html " title ="type alloc::string::String "> String</ a > >,
15
15
bufs: &[< a class ="primitive " href ="{{channel}}/std/primitive.usize.html "> usize</ a > ],
16
16
) -> < a class ="enum " href ="{{channel}}/core/option/enum.Option.html " title ="enum core::option::Option "> Option</ a > << a class ="enum " href ="{{channel}}/core/result/enum.Result.html " title ="enum core::result::Result "> Result</ a > << a class ="primitive " href ="{{channel}}/std/primitive.usize.html "> usize</ a > , < a class ="struct " href ="struct.Error.html " title ="struct foo::Error "> Error</ a > >> { ... }
17
17
}</ code >
0 commit comments