MCPcopy Create free account
hub / github.com/solana-program/system / try_to_vec

Method try_to_vec

clients/rust/src/generated/instructions/allocate.rs:55–57  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

53 }
54
55 pub(crate) fn try_to_vec(&self) -> Result<Vec<u8>, std::io::Error> {
56 borsh::to_vec(self)
57 }
58}
59
60impl Default for AllocateInstructionData {

Calls

no outgoing calls

Tested by

no test coverage detected