pub struct EndOfLogMarker {
pub temporary: bool,
}Expand description
Payload stored in the end-of-log section to signal whether the log was cleanly closed.
Fields§
§temporary: boolTrait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for EndOfLogMarker
impl<'__de, __Context> BorrowDecode<'__de, __Context> for EndOfLogMarker
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for EndOfLogMarker
impl Clone for EndOfLogMarker
Source§fn clone(&self) -> EndOfLogMarker
fn clone(&self) -> EndOfLogMarker
Returns a duplicate 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 Debug for EndOfLogMarker
impl Debug for EndOfLogMarker
Source§impl<__Context> Decode<__Context> for EndOfLogMarker
impl<__Context> Decode<__Context> for EndOfLogMarker
Auto Trait Implementations§
impl Freeze for EndOfLogMarker
impl RefUnwindSafe for EndOfLogMarker
impl Send for EndOfLogMarker
impl Sync for EndOfLogMarker
impl Unpin for EndOfLogMarker
impl UnwindSafe for EndOfLogMarker
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