Skip to content

Commit

Permalink
make CopyBothDuplex struct pub
Browse files Browse the repository at this point in the history
This is useful / needed to build a Rust client for the Pageserver's
GetPage@LSN API, which uses CopyBoth mode.
  • Loading branch information
problame committed Nov 2, 2023
1 parent 7434d93 commit 5c462bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tokio-postgres/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ pub use crate::cancel_token::CancelToken;
pub use crate::client::Client;
pub use crate::config::Config;
pub use crate::connection::Connection;
pub use crate::copy_both::CopyBothDuplex;
pub use crate::copy_in::CopyInSink;
pub use crate::copy_out::CopyOutStream;
use crate::error::DbError;
Expand Down

0 comments on commit 5c462bd

Please sign in to comment.