client: Remove Result from Mechanism::initial().

This commit is contained in:
Emmanuel Gil Peyrot 2020-02-25 23:31:21 +01:00
commit 09745829f1
3 changed files with 8 additions and 8 deletions

View file

@ -11,8 +11,8 @@ pub trait Mechanism {
Self: Sized;
/// Provides initial payload of the SASL mechanism.
fn initial(&mut self) -> Result<Vec<u8>, String> {
Ok(Vec::new())
fn initial(&mut self) -> Vec<u8> {
Vec::new()
}
/// Creates a response to the SASL challenge.