pub enum What {
FileVersion(String),
GraphDef(Vec<u8>),
Summary(Summary),
LogMessage(LogMessage),
SessionLog(SessionLog),
TaggedRunMetadata(TaggedRunMetadata),
MetaGraphDef(Vec<u8>),
}Variants§
FileVersion(String)
An event file was started, with the specified version. This is use to identify the contents of the record IO files easily. Current version is “brain.Event:2”. All versions start with “brain.Event:”.
GraphDef(Vec<u8>)
An encoded version of a GraphDef.
Summary(Summary)
A summary was generated.
LogMessage(LogMessage)
The user output a log message. This was theoretically used by the defunct tensorboard_logging module, which has since been removed; this field is now deprecated and should not be used.
SessionLog(SessionLog)
The state of the session which can be used for restarting after crashes.
TaggedRunMetadata(TaggedRunMetadata)
The metadata returned by running a session.run() call.
MetaGraphDef(Vec<u8>)
An encoded version of a MetaGraphDef.
Implementations§
Source§impl What
impl What
Sourcepub fn merge<B>(
field: &mut Option<What>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<What>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for What
impl<'de> Deserialize<'de> for What
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for What
Auto Trait Implementations§
impl Freeze for What
impl RefUnwindSafe for What
impl Send for What
impl Sync for What
impl Unpin for What
impl UnwindSafe for What
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more