pub struct JournalStream { /* private fields */ }Expand description
A systemd journal stream.
Implementations§
Source§impl JournalStream
impl JournalStream
Sourcepub fn from_env() -> Result<Self, SdError>
pub fn from_env() -> Result<Self, SdError>
Parse the device and inode number of the systemd journal stream denoted by the default $JOURNAL_STREAM variable.
These values are extracted from $JOURNAL_STREAM, and consists of the device and inode
numbers of the systemd journal stream, separated by :.
Trait Implementations§
Source§impl Debug for JournalStream
impl Debug for JournalStream
Source§impl From<stat> for JournalStream
impl From<stat> for JournalStream
Source§impl PartialEq for JournalStream
impl PartialEq for JournalStream
impl Eq for JournalStream
impl StructuralPartialEq for JournalStream
Auto Trait Implementations§
impl Freeze for JournalStream
impl RefUnwindSafe for JournalStream
impl Send for JournalStream
impl Sync for JournalStream
impl Unpin for JournalStream
impl UnwindSafe for JournalStream
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