pub enum BootstrapProtocol {
Primitive,
Legacy,
LegacyRescue,
Eeprom,
Emulator,
}
Expand description
BootstrapProtocol
describes the supported types of bootstrap.
The Primitive
SPI protocol is used by OpenTitan during development.
The Legacy
SPI protocol is used by previous generations of Google Titan-class chips.
The LegacyRescue
UART protocol is used by previous generations of Google Titan-class chips.
The Eeprom
SPI protocol is planned to be implemented for OpenTitan.
The ‘Emulator’ value indicates that this tool has a direct way
of communicating with the OpenTitan emulator, to replace the
contents of the emulated flash storage.
Variants§
Trait Implementations§
Source§impl Clone for BootstrapProtocol
impl Clone for BootstrapProtocol
Source§fn clone(&self) -> BootstrapProtocol
fn clone(&self) -> BootstrapProtocol
Returns a copy 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 BootstrapProtocol
impl Debug for BootstrapProtocol
Source§impl<'de> Deserialize<'de> for BootstrapProtocol
impl<'de> Deserialize<'de> for BootstrapProtocol
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
Source§impl PartialEq for BootstrapProtocol
impl PartialEq for BootstrapProtocol
Source§impl Serialize for BootstrapProtocol
impl Serialize for BootstrapProtocol
Source§impl ValueEnum for BootstrapProtocol
impl ValueEnum for BootstrapProtocol
impl Copy for BootstrapProtocol
impl Eq for BootstrapProtocol
impl StructuralPartialEq for BootstrapProtocol
Auto Trait Implementations§
impl Freeze for BootstrapProtocol
impl RefUnwindSafe for BootstrapProtocol
impl Send for BootstrapProtocol
impl Sync for BootstrapProtocol
impl Unpin for BootstrapProtocol
impl UnwindSafe for BootstrapProtocol
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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