pub struct CollectedLogArchive {
pub file_name: String,
pub content_type: &'static str,
pub encoding: &'static str,
pub entry_count: usize,
pub lxapp_ids: Vec<String>,
pub bytes: Vec<u8>,
}Expand description
Compressed in-memory log archive payload.
Fields§
§file_name: String§content_type: &'static str§encoding: &'static str§entry_count: usize§lxapp_ids: Vec<String>§bytes: Vec<u8>Implementations§
Source§impl CollectedLogArchive
impl CollectedLogArchive
pub fn from_entries(entries: &[LogMessage]) -> Result<Self>
pub fn info(&self) -> CollectedLogArchiveInfo
Trait Implementations§
Source§impl Clone for CollectedLogArchive
impl Clone for CollectedLogArchive
Source§fn clone(&self) -> CollectedLogArchive
fn clone(&self) -> CollectedLogArchive
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 CollectedLogArchive
impl RefUnwindSafe for CollectedLogArchive
impl Send for CollectedLogArchive
impl Sync for CollectedLogArchive
impl Unpin for CollectedLogArchive
impl UnsafeUnpin for CollectedLogArchive
impl UnwindSafe for CollectedLogArchive
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