#[repr(u8)]pub enum Buffer {
Main,
Radio,
Events,
System,
Crash,
Stats,
Security,
Custom(u8),
}Expand description
Android log buffer identifiers.
Android maintains multiple ring buffers for different types of logs.
Most applications should use Buffer::Main, which is the standard
application log buffer.
§Buffer Types
- Main: Standard application logs (default)
- Radio: Radio/telephony related logs (system use)
- Events: Binary event logs for system events
- System: System component logs
- Crash: Crash logs
- Stats: Statistics logs
- Security: Security-related logs
- Custom: User-defined buffer ID
Variants§
Main
The main log buffer. This is the default and only buffer available to regular apps.
Radio
The radio log buffer for telephony-related logs (typically system use only).
Events
The event log buffer for structured binary events.
System
The system log buffer for system component logs.
Crash
The crash log buffer for crash reports.
Stats
The statistics log buffer for system statistics.
Security
The security log buffer for security-related events.
Custom(u8)
A custom buffer with a user-defined ID.
Trait Implementations§
impl Copy for Buffer
Auto Trait Implementations§
impl Freeze for Buffer
impl RefUnwindSafe for Buffer
impl Send for Buffer
impl Sync for Buffer
impl Unpin for Buffer
impl UnwindSafe for Buffer
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