pub enum LogoutOutcome {
Success,
PartialLogout {
message: Option<String>,
},
Failure {
status: String,
message: Option<String>,
},
}Expand description
Outcome of consuming an inbound <samlp:LogoutResponse>. The wire format
is two-level (top-level + optional second-level StatusCode); we collapse
to a three-variant view because the caller’s only interesting question is
whether to consider the user fully / partially / not logged out.
Variants§
Trait Implementations§
Source§impl Clone for LogoutOutcome
impl Clone for LogoutOutcome
Source§fn clone(&self) -> LogoutOutcome
fn clone(&self) -> LogoutOutcome
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 moreAuto Trait Implementations§
impl Freeze for LogoutOutcome
impl RefUnwindSafe for LogoutOutcome
impl Send for LogoutOutcome
impl Sync for LogoutOutcome
impl Unpin for LogoutOutcome
impl UnsafeUnpin for LogoutOutcome
impl UnwindSafe for LogoutOutcome
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