pub struct SessionLogger { /* private fields */ }Implementations§
Source§impl SessionLogger
impl SessionLogger
pub fn maybe_new(enabled: bool) -> Result<Option<Self>>
pub fn root(&self) -> &Path
pub fn child(&self, relative_path: impl AsRef<Path>) -> SessionWriter
pub async fn write_aggregation(&self, record: &AggregationRecord) -> Result<()>
pub async fn write_attribution(&self, record: &SessionAttribution) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SessionLogger
impl !UnwindSafe for SessionLogger
impl Forget for SessionLogger
impl Freeze for SessionLogger
impl Move for SessionLogger
impl Send for SessionLogger
impl Sync for SessionLogger
impl Unpin for SessionLogger
impl UnsafeUnpin for SessionLogger
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