We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fc7933 commit 3c70561Copy full SHA for 3c70561
src/blocking/rng.rs
@@ -15,5 +15,5 @@ pub trait Read {
15
///
16
/// If this function returns an error, it is unspecified how many bytes it has read, but it
17
/// will never read more than would be necessary to completely fill the buffer.
18
- fn read(&mut self, buffer: &mut [u8]) -> Result<(), Self::Error>;
+ fn try_read(&mut self, buffer: &mut [u8]) -> Result<(), Self::Error>;
19
}
0 commit comments