pub struct Sessions { /* fields omitted */ }
Expand description
Holds sessions manipulated from the Command Loop
Returns the number of sessions
Returns true is the collection is empty
Searches for the Session at given index and returns it.
If take
is set, the session will be extracted from the database
Returns the client given its id. If not client exist, returns None
Add the given session into the database
Returns an iterator over sessions
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,