pub enum EntryField<'a> {
Raw(&'a [u8]),
Structured(StructuredField<'a>),
}Variants§
Raw(&'a [u8])
Full KEY=value payload, matching systemd’s low-level writer shape.
Structured(StructuredField<'a>)
Split field name and value, avoiding KEY=value reconstruction for
already-structured producers.
Implementations§
Source§impl<'a> EntryField<'a>
impl<'a> EntryField<'a>
Trait Implementations§
Source§impl<'a> Clone for EntryField<'a>
impl<'a> Clone for EntryField<'a>
Source§fn clone(&self) -> EntryField<'a>
fn clone(&self) -> EntryField<'a>
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 moreimpl<'a> Copy for EntryField<'a>
Auto Trait Implementations§
impl<'a> Freeze for EntryField<'a>
impl<'a> RefUnwindSafe for EntryField<'a>
impl<'a> Send for EntryField<'a>
impl<'a> Sync for EntryField<'a>
impl<'a> Unpin for EntryField<'a>
impl<'a> UnsafeUnpin for EntryField<'a>
impl<'a> UnwindSafe for EntryField<'a>
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