Skip to content

Commit ef8559b

Browse files
authored
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 ce7260d commit ef8559b

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
@@ -124,6 +124,7 @@ pub use crate::cancel_token::CancelToken;
124124
pub use crate::client::Client;
125125
pub use crate::config::Config;
126126
pub use crate::connection::Connection;
127+
pub use crate::copy_both::CopyBothDuplex;
127128
pub use crate::copy_in::CopyInSink;
128129
pub use crate::copy_out::CopyOutStream;
129130
use crate::error::DbError;

0 commit comments

Comments
 (0)