Skip to content

Commit 9d99ea3

Browse files
committed
Document NegotiateSsl impl for SslContext
1 parent 975c9fd commit 9d99ea3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ before_script:
1010
script:
1111
- cargo test
1212
- cargo test --features "uuid rustc-serialize time unix_socket serde chrono openssl"
13-
- cargo doc --no-deps --features "unix_socket"
13+
- cargo doc --no-deps --features "unix_socket openssl"
1414
after_success:
1515
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && test $TRAVIS_RUST_VERSION == "nightly" && ./.travis/update_docs.sh
1616
env:

src/io/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ pub trait StreamWrapper: Read+Write+Send {
1717
}
1818

1919
/// A trait implemented by types that can negotiate SSL over a Postgres stream.
20+
///
21+
/// If the `openssl` Cargo feature is enabled, this trait will be implemented
22+
/// for `openssl::ssl::SslContext`.
2023
pub trait NegotiateSsl {
2124
/// Negotiates an SSL session, returning a wrapper around the provided
2225
/// stream.

0 commit comments

Comments
 (0)