pub struct LogoutCompleted { /* private fields */ }Expand description
Marker result for completed logout flows.
Implementations§
Source§impl LogoutCompleted
impl LogoutCompleted
Sourcepub fn new(peer_entity_id: EntityId) -> LogoutCompleted
pub fn new(peer_entity_id: EntityId) -> LogoutCompleted
Create a completed logout marker.
Sourcepub fn from_response(
peer_entity_id: EntityId,
response: LogoutResponse,
) -> LogoutCompleted
pub fn from_response( peer_entity_id: EntityId, response: LogoutResponse, ) -> LogoutCompleted
Create a completed logout marker from a validated LogoutResponse.
Sourcepub fn peer_entity_id(&self) -> &EntityId
pub fn peer_entity_id(&self) -> &EntityId
Peer entity ID involved in the completed logout.
Sourcepub fn response(&self) -> Option<&LogoutResponse>
pub fn response(&self) -> Option<&LogoutResponse>
Validated LogoutResponse, when this completion came from a front-channel response.
Sourcepub fn raw_flow(&self) -> Option<&FlowResult>
pub fn raw_flow(&self) -> Option<&FlowResult>
Raw validated flow result for the LogoutResponse.
Trait Implementations§
Source§impl Clone for LogoutCompleted
impl Clone for LogoutCompleted
Source§fn clone(&self) -> LogoutCompleted
fn clone(&self) -> LogoutCompleted
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 LogoutCompleted
impl Debug for LogoutCompleted
impl Eq for LogoutCompleted
Auto Trait Implementations§
impl Freeze for LogoutCompleted
impl RefUnwindSafe for LogoutCompleted
impl Send for LogoutCompleted
impl Sync for LogoutCompleted
impl Unpin for LogoutCompleted
impl UnsafeUnpin for LogoutCompleted
impl UnwindSafe for LogoutCompleted
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