Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pub fn authorize(&mut self, foo: Foo) -> Result<(), AuthError> {
- self.connection.auth = match Auth::new(&self.connection, foo: Foo) {
- Ok(auth) => auth,
- Err(err) => return Err(err),
- };
- Ok(())
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement