pub struct SnapSyncData {
pub io_sk: Vec<u8>,
pub state: Vec<u8>,
}Expand description
stuct representing the data required to SnapSync
§Fields
io_sk- The secret key of the enclave’s IO encryption keypairstate- The private state necessary to SnapSync
Fields§
§io_sk: Vec<u8>§state: Vec<u8>Implementations§
Trait Implementations§
Source§impl Debug for SnapSyncData
impl Debug for SnapSyncData
Source§impl<'de> Deserialize<'de> for SnapSyncData
impl<'de> Deserialize<'de> for SnapSyncData
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
Auto Trait Implementations§
impl Freeze for SnapSyncData
impl RefUnwindSafe for SnapSyncData
impl Send for SnapSyncData
impl Sync for SnapSyncData
impl Unpin for SnapSyncData
impl UnwindSafe for SnapSyncData
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