[−][src]Struct sequoia_store::Log
Represents a log entry.
Fields
timestamp: SystemTime
Records the time of the entry.
mapping: Option<Mapping>
Relates the entry to a mapping.
binding: Option<Binding>
Relates the entry to a binding.
key: Option<Key>
Relates the entry to a key.
slug: String
Relates the entry to some object.
This is a human-readable description of what this log entry is mainly concerned with.
status: Result<String, (String, String)>
Holds the result of the operation.
This is either Ok(Message)
, or Err((Message, Error))
.
Implementations
impl Log
[src]
pub fn short(&self) -> String
[src]
Returns the message without context.
pub fn string(&self) -> String
[src]
Returns the message with some context.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Log
impl !Send for Log
impl !Sync for Log
impl Unpin for Log
impl !UnwindSafe for Log
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,