Struct file_rotate::SuffixInfo
source · pub struct SuffixInfo<Repr> {
pub suffix: Repr,
pub compressed: bool,
}
Expand description
Used mostly internally. Info about suffix + compressed state.
Fields§
§suffix: Repr
Suffix
compressed: bool
Whether there is a .gz
suffix after the suffix
Implementations§
source§impl<Repr: Representation> SuffixInfo<Repr>
impl<Repr: Representation> SuffixInfo<Repr>
Trait Implementations§
source§impl<Repr: Clone> Clone for SuffixInfo<Repr>
impl<Repr: Clone> Clone for SuffixInfo<Repr>
source§fn clone(&self) -> SuffixInfo<Repr>
fn clone(&self) -> SuffixInfo<Repr>
Returns a copy 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 moresource§impl<Repr: Debug> Debug for SuffixInfo<Repr>
impl<Repr: Debug> Debug for SuffixInfo<Repr>
source§impl<Repr: Representation> Ord for SuffixInfo<Repr>
impl<Repr: Representation> Ord for SuffixInfo<Repr>
source§impl<R: PartialEq> PartialEq for SuffixInfo<R>
impl<R: PartialEq> PartialEq for SuffixInfo<R>
source§impl<Repr: Representation> PartialOrd for SuffixInfo<Repr>
impl<Repr: Representation> PartialOrd for SuffixInfo<Repr>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<Repr: Eq> Eq for SuffixInfo<Repr>
Auto Trait Implementations§
impl<Repr> Freeze for SuffixInfo<Repr>where
Repr: Freeze,
impl<Repr> RefUnwindSafe for SuffixInfo<Repr>where
Repr: RefUnwindSafe,
impl<Repr> Send for SuffixInfo<Repr>where
Repr: Send,
impl<Repr> Sync for SuffixInfo<Repr>where
Repr: Sync,
impl<Repr> Unpin for SuffixInfo<Repr>where
Repr: Unpin,
impl<Repr> UnwindSafe for SuffixInfo<Repr>where
Repr: UnwindSafe,
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