pub struct ForwardProxyUserRepository { /* private fields */ }Implementations§
Source§impl ForwardProxyUserRepository
impl ForwardProxyUserRepository
pub fn new(concrete_user_repo: FileSystemUserInfoRepository) -> Self
Trait Implementations§
Source§impl Debug for ForwardProxyUserRepository
impl Debug for ForwardProxyUserRepository
Source§impl UserInfoRepository for ForwardProxyUserRepository
impl UserInfoRepository for ForwardProxyUserRepository
fn get_user<'life0, 'life1, 'async_trait>(
&'life0 self,
username: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<Arc<RwLock<UserInfo>>>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_all_users<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<Arc<RwLock<UserInfo>>>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for ForwardProxyUserRepository
impl !RefUnwindSafe for ForwardProxyUserRepository
impl Send for ForwardProxyUserRepository
impl Sync for ForwardProxyUserRepository
impl Unpin for ForwardProxyUserRepository
impl !UnwindSafe for ForwardProxyUserRepository
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more