pub enum UserValidation<T> {
Unauthorized,
Authorized(LoginData, T),
}Available on crate feature
integration-fs only.Variants§
Implementations§
Source§impl<T> UserValidation<T>
impl<T> UserValidation<T>
pub fn into_option(self) -> Option<(LoginData, T)>
Auto Trait Implementations§
impl<T> Freeze for UserValidation<T>where
T: Freeze,
impl<T> RefUnwindSafe for UserValidation<T>where
T: RefUnwindSafe,
impl<T> Send for UserValidation<T>where
T: Send,
impl<T> Sync for UserValidation<T>where
T: Sync,
impl<T> Unpin for UserValidation<T>where
T: Unpin,
impl<T> UnwindSafe for UserValidation<T>where
T: UnwindSafe,
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