| 1 | use craterust-analyzer cargo sqlx-postgres 0.8.3 crate/::messagerust-analyzer cargo sqlx-postgres 0.8.3 message/::{FrontendMessagerust-analyzer cargo sqlx-postgres 0.8.3 message/FrontendMessage#, FrontendMessageFormatrust-analyzer cargo sqlx-postgres 0.8.3 message/FrontendMessageFormat#}; |
| 2 | use sqlx_corerust-analyzer cargo sqlx-core 0.8.3 crate/::Errorrust-analyzer cargo sqlx-core 0.8.3 error/Error#; |
| 3 | use stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::numrust-analyzer cargo std https://github.com/rust-lang/rust/library/std num/::Saturatingrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/saturating/Saturating#; |
| 4 | |
| 5 | pub struct Terminaterust-analyzer cargo sqlx-postgres 0.8.3 message/terminate/Terminate#; |
| 6 | |
| 7 | impl FrontendMessagerust-analyzer cargo sqlx-postgres 0.8.3 message/FrontendMessage# for Terminaterust-analyzer cargo sqlx-postgres 0.8.3 message/terminate/Terminate# { |
| 8 | const FORMATrust-analyzer cargo sqlx-postgres 0.8.3 message/terminate/impl#[Terminate][FrontendMessage]FORMAT.: FrontendMessageFormatrust-analyzer cargo sqlx-postgres 0.8.3 message/FrontendMessageFormat# = FrontendMessageFormatrust-analyzer cargo sqlx-postgres 0.8.3 message/FrontendMessageFormat#::Terminaterust-analyzer cargo sqlx-postgres 0.8.3 message/FrontendMessageFormat#Terminate#; |
| 9 | |
| 10 | #[inline(always)] |
| 11 | fn body_size_hintrust-analyzer cargo sqlx-postgres 0.8.3 message/terminate/impl#[Terminate][FrontendMessage]body_size_hint().(&self) -> Saturatingrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/saturating/Saturating#<usize> { |
| 12 | Saturatingrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/saturating/Saturating#(0) |
| 13 | } |
| 14 | |
| 15 | #[inline(always)] |
| 16 | fn encode_bodyrust-analyzer cargo sqlx-postgres 0.8.3 message/terminate/impl#[Terminate][FrontendMessage]encode_body().(&self, _buf: &mut Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<u8>) -> Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#<(), Errorrust-analyzer cargo sqlx-core 0.8.3 error/Error#> { |
| 17 | Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(()) |
| 18 | } |
| 19 | } |