Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
60
impl Default for AllocateInstructionData {
Callers
2
instruction_with_remaining_accounts
Method · 0.45
invoke_signed_with_remaining_accounts
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected