| 1 | use bytesrust-analyzer cargo bytes 1.12.1 crate/::BufMutrust-analyzer cargo bytes 1.12.1 buf/buf_mut/BufMut#; |
| 2 | |
| 3 | pub trait BufMutExtrust-analyzer cargo sqlx-core 0.8.3 io/buf_mut/BufMutExt#: BufMutrust-analyzer cargo bytes 1.12.1 buf/buf_mut/BufMut# { |
| 4 | fn put_str_nulrust-analyzer cargo sqlx-core 0.8.3 io/buf_mut/BufMutExt#put_str_nul().(&mut self, s: &str); |
| 5 | } |
| 6 | |
| 7 | impl BufMutExtrust-analyzer cargo sqlx-core 0.8.3 io/buf_mut/BufMutExt# for Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<u8> { |
| 8 | fn put_str_nulrust-analyzer cargo sqlx-core 0.8.3 io/buf_mut/impl#[`Vec<u8>`][BufMutExt]put_str_nul().(&mut self, s: &str) { |
| 9 | self.extendrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/impl#[`Vec<T, A>`][`Extend<&'a T>`]extend().(s.as_bytesrust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]as_bytes().()); |
| 10 | self.pushrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/impl#[`Vec<T, A>`]push().(0); |
| 11 | } |
| 12 | } |