pub enum RemovalTarget {
All,
BySession(String),
OlderThan(u64),
ByDescription(String),
}Expand description
Target for removal.
Variants§
All
Remove all ryo-inserted debug logs.
BySession(String)
Remove logs from a specific session.
OlderThan(u64)
Remove logs older than a timestamp.
ByDescription(String)
Remove logs matching a description pattern.
Trait Implementations§
Source§impl Clone for RemovalTarget
impl Clone for RemovalTarget
Source§fn clone(&self) -> RemovalTarget
fn clone(&self) -> RemovalTarget
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 moreAuto Trait Implementations§
impl Freeze for RemovalTarget
impl RefUnwindSafe for RemovalTarget
impl Send for RemovalTarget
impl Sync for RemovalTarget
impl Unpin for RemovalTarget
impl UnsafeUnpin for RemovalTarget
impl UnwindSafe for RemovalTarget
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