pub enum TPUConnectionType {
CloudTPU,
PCIe,
USB,
M2,
Network,
Unknown,
}
Expand description
TPU connection type
Variants§
Trait Implementations§
Source§impl Clone for TPUConnectionType
impl Clone for TPUConnectionType
Source§fn clone(&self) -> TPUConnectionType
fn clone(&self) -> TPUConnectionType
Returns a duplicate 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 TPUConnectionType
impl Debug for TPUConnectionType
Source§impl<'de> Deserialize<'de> for TPUConnectionType
impl<'de> Deserialize<'de> for TPUConnectionType
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 TPUConnectionType
impl PartialEq for TPUConnectionType
Source§impl Serialize for TPUConnectionType
impl Serialize for TPUConnectionType
impl Eq for TPUConnectionType
impl StructuralPartialEq for TPUConnectionType
Auto Trait Implementations§
impl Freeze for TPUConnectionType
impl RefUnwindSafe for TPUConnectionType
impl Send for TPUConnectionType
impl Sync for TPUConnectionType
impl Unpin for TPUConnectionType
impl UnwindSafe for TPUConnectionType
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