Skip to main content
JournalWriterBuilder
platform_
core
0.3.0
Journal
Writer
Builder
Associated Functions
new
Methods
caller_timestamps
fsync_policy
mono_origin
open
Auto Trait Implementations
!RefUnwindSafe
!UnwindSafe
Freeze
Send
Sync
Unpin
UnsafeUnpin
Blanket Implementations
Any
Borrow<T>
BorrowMut<T>
CastableFrom<ST, Initialized, Initialized>
CastableFrom<ST, Uninit, Uninit>
From<T>
Instrument
Into<U>
Read<Exclusive, BecauseExclusive>
TryFrom<U>
TryInto<U>
WithSubscriber
In platform_
core::
journal::
writer
platform_core
::
journal
::
writer
Struct
Journal
Writer
Builder
Copy item path
pub struct JournalWriterBuilder {
/* private fields */
}
Implementations
§
§
impl
JournalWriterBuilder
pub fn
new
(run_id:
Uuid
, encoding:
Box
<dyn
JournalEncoding
>) -> Self
pub fn
fsync_policy
(self, policy:
FsyncPolicy
) -> Self
pub fn
mono_origin
(self, origin:
Instant
) -> Self
pub fn
caller_timestamps
(self, enabled:
bool
) -> Self
pub fn
open
(self, path: impl
AsRef
<
Path
>) ->
Result
<
JournalWriter
,
JournalError
>
Auto Trait Implementations
§
§
impl
Freeze
for
JournalWriterBuilder
§
impl !
RefUnwindSafe
for
JournalWriterBuilder
§
impl
Send
for
JournalWriterBuilder
§
impl
Sync
for
JournalWriterBuilder
§
impl
Unpin
for
JournalWriterBuilder
§
impl
UnsafeUnpin
for
JournalWriterBuilder
§
impl !
UnwindSafe
for
JournalWriterBuilder
Blanket Implementations
§
§
impl<T>
Any
for T
where T: 'static + ?
Sized
,
§
fn
type_id
(&self) ->
TypeId
§
impl<T>
Borrow
<T> for T
where T: ?
Sized
,
§
fn
borrow
(&self) ->
&T
§
impl<T>
BorrowMut
<T> for T
where T: ?
Sized
,
§
fn
borrow_mut
(&mut self) ->
&mut T
§
impl<T>
From
<T> for T
§
fn
from
(t: T) -> T
§
impl<T> Instrument for T
§
fn
instrument
(self, span: Span) -> Instrumented<Self>
§
fn
in_current_span
(self) -> Instrumented<Self>
§
impl<T, U>
Into
<U> for T
where U:
From
<T>,
§
fn
into
(self) -> U
§
impl<T, U>
TryFrom
<U> for T
where U:
Into
<T>,
§
type
Error
=
Infallible
§
fn
try_from
(value: U) ->
Result
<T, <T as
TryFrom
<U>>::
Error
>
§
impl<T, U>
TryInto
<U> for T
where U:
TryFrom
<T>,
§
type
Error
= <U as
TryFrom
<T>>::
Error
§
fn
try_into
(self) ->
Result
<U, <U as
TryFrom
<T>>::
Error
>
§
impl<T> WithSubscriber for T
§
fn
with_subscriber
<S>(self, subscriber: S) -> WithDispatch<Self>
where S:
Into
<Dispatch>,
§
fn
with_current_subscriber
(self) -> WithDispatch<Self>
§
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?
Sized
, DT: ?
Sized
,
§
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?
Sized
, DT: ?
Sized
,
§
impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?
Sized
,