Skip to content

Commit 62f7889

Browse files
problamearpad-m
authored andcommitted
make CopyBothDuplex struct pub (#25)
This is useful / needed to build a Rust client for the Pageserver's GetPage@LSN API, which uses CopyBoth mode.
1 parent bd7761f commit 62f7889

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tokio-postgres/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ pub use crate::cancel_token::CancelToken;
122122
pub use crate::client::Client;
123123
pub use crate::config::Config;
124124
pub use crate::connection::Connection;
125+
pub use crate::copy_both::CopyBothDuplex;
125126
pub use crate::copy_in::CopyInSink;
126127
pub use crate::copy_out::CopyOutStream;
127128
use crate::error::DbError;

0 commit comments

Comments
 (0)