pub enum SessionActivity {
KeepAliveSucceeded,
KeepAliveFailed(StatusCode),
}
Expand description
Periodic activity performed by the session.
Variants§
KeepAliveSucceeded
A keep alive request was sent to the server and a response was received with a successful state.
KeepAliveFailed(StatusCode)
A keep alive request was sent to the server, but it failed or the server was in an invalid state.
Trait Implementations§
Source§impl Clone for SessionActivity
impl Clone for SessionActivity
Source§fn clone(&self) -> SessionActivity
fn clone(&self) -> SessionActivity
Returns a duplicate of the value. Read more
1.0.0 · 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 SessionActivity
impl RefUnwindSafe for SessionActivity
impl Send for SessionActivity
impl Sync for SessionActivity
impl Unpin for SessionActivity
impl UnwindSafe for SessionActivity
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