Debian Codegraph @

src/message/sync.rs

raw symbols SCIP
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 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:)]
6 pub struct Syncrust-analyzer cargo sqlx-postgres 0.8.3 message/sync/Sync#;
7
8 impl FrontendMessagerust-analyzer cargo sqlx-postgres 0.8.3 message/FrontendMessage# for Syncrust-analyzer cargo sqlx-postgres 0.8.3 message/sync/Sync# {
9 const FORMATrust-analyzer cargo sqlx-postgres 0.8.3 message/sync/impl#[Sync][FrontendMessage]FORMAT.: FrontendMessageFormatrust-analyzer cargo sqlx-postgres 0.8.3 message/FrontendMessageFormat# = FrontendMessageFormatrust-analyzer cargo sqlx-postgres 0.8.3 message/FrontendMessageFormat#::Syncrust-analyzer cargo sqlx-postgres 0.8.3 message/FrontendMessageFormat#Sync#;
10
11 #[inline(always)]
12 fn body_size_hintrust-analyzer cargo sqlx-postgres 0.8.3 message/sync/impl#[Sync][FrontendMessage]body_size_hint().(&self) -> Saturatingrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/saturating/Saturating#<usize> {
13 Saturatingrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/saturating/Saturating#(0)
14 }
15
16 #[inline(always)]
17 fn encode_bodyrust-analyzer cargo sqlx-postgres 0.8.3 message/sync/impl#[Sync][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#> {
18 Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(())
19 }
20 }