pub enum SessionVerificationEvent {
Verified {
user: User,
},
NeedsReauth {
reason: String,
},
NetworkError {
message: String,
},
}Expand description
Session verification result event emitted to frontend
Variants§
Trait Implementations§
Source§impl Clone for SessionVerificationEvent
impl Clone for SessionVerificationEvent
Source§fn clone(&self) -> SessionVerificationEvent
fn clone(&self) -> SessionVerificationEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionVerificationEvent
impl Debug for SessionVerificationEvent
Auto Trait Implementations§
impl Freeze for SessionVerificationEvent
impl RefUnwindSafe for SessionVerificationEvent
impl Send for SessionVerificationEvent
impl Sync for SessionVerificationEvent
impl Unpin for SessionVerificationEvent
impl UnsafeUnpin for SessionVerificationEvent
impl UnwindSafe for SessionVerificationEvent
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