Struct CuLogEntry
pub struct CuLogEntry {
pub time: CuDuration,
pub msg_index: u32,
pub paramname_indexes: SmallVec<[u32; 10]>,
pub params: SmallVec<[Value; 10]>,
}
Expand description
This is the basic structure for a log entry in Copper.
Fields§
§time: CuDuration
§msg_index: u32
§paramname_indexes: SmallVec<[u32; 10]>
§params: SmallVec<[Value; 10]>
Implementations§
§impl CuLogEntry
impl CuLogEntry
Trait Implementations§
§impl Debug for CuLogEntry
impl Debug for CuLogEntry
§impl Decode for CuLogEntry
impl Decode for CuLogEntry
§fn decode<D>(decoder: &mut D) -> Result<CuLogEntry, DecodeError>where
D: Decoder,
fn decode<D>(decoder: &mut D) -> Result<CuLogEntry, DecodeError>where
D: Decoder,
Attempt to decode this type with the given Decode.
§impl<'de> Deserialize<'de> for CuLogEntry
impl<'de> Deserialize<'de> for CuLogEntry
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CuLogEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CuLogEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Display for CuLogEntry
impl Display for CuLogEntry
§impl Encode for CuLogEntry
impl Encode for CuLogEntry
§impl PartialEq for CuLogEntry
impl PartialEq for CuLogEntry
§impl Serialize for CuLogEntry
impl Serialize for CuLogEntry
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl WriteStream<CuLogEntry> for SimpleFileWriter
impl WriteStream<CuLogEntry> for SimpleFileWriter
impl StructuralPartialEq for CuLogEntry
Auto Trait Implementations§
impl Freeze for CuLogEntry
impl RefUnwindSafe for CuLogEntry
impl Send for CuLogEntry
impl Sync for CuLogEntry
impl Unpin for CuLogEntry
impl UnwindSafe for CuLogEntry
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
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of [
ToCompactString::to_compact_string()
] Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString
]. Read more