pub struct RolloutReader;Implementations§
Source§impl RolloutReader
impl RolloutReader
Sourcepub fn read_session<P: AsRef<Path>>(path: P) -> Result<Session>
pub fn read_session<P: AsRef<Path>>(path: P) -> Result<Session>
Read every line of a rollout file into a Session.
The session id is taken from the first line’s session_meta
payload if present; otherwise from the filename stem.
Auto Trait Implementations§
impl Freeze for RolloutReader
impl RefUnwindSafe for RolloutReader
impl Send for RolloutReader
impl Sync for RolloutReader
impl Unpin for RolloutReader
impl UnsafeUnpin for RolloutReader
impl UnwindSafe for RolloutReader
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