client: Remove Result from Mechanism::initial().
This commit is contained in:
parent
7d78455981
commit
09745829f1
3 changed files with 8 additions and 8 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue