pub enum JlsState {
AuthSuccess(JlsUser),
AuthFailed(Option<String>),
NotAuthed,
Disabled,
}Expand description
Jls State
Variants§
AuthSuccess(JlsUser)
JLS authentication success
AuthFailed(Option<String>)
JLS authentication failed with upstream addr
NotAuthed
JLS authentication not yet happened
Disabled
JLS is not enabled
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JlsState
impl RefUnwindSafe for JlsState
impl Send for JlsState
impl Sync for JlsState
impl Unpin for JlsState
impl UnsafeUnpin for JlsState
impl UnwindSafe for JlsState
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