pub struct LEB128Vec<T: BorshSerialize + BorshDeserialize>(/* private fields */);Trait Implementations§
Source§impl<T> BorshDeserialize for LEB128Vec<T>
impl<T> BorshDeserialize for LEB128Vec<T>
fn deserialize_reader<__R: Read>(reader: &mut __R) -> Result<Self, Error>
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl<T> BorshSerialize for LEB128Vec<T>
impl<T> BorshSerialize for LEB128Vec<T>
Source§impl<T: Clone + BorshSerialize + BorshDeserialize> Clone for LEB128Vec<T>
impl<T: Clone + BorshSerialize + BorshDeserialize> Clone for LEB128Vec<T>
Source§impl<T: Debug + BorshSerialize + BorshDeserialize> Debug for LEB128Vec<T>
impl<T: Debug + BorshSerialize + BorshDeserialize> Debug for LEB128Vec<T>
Source§impl<T: PartialEq + BorshSerialize + BorshDeserialize> PartialEq for LEB128Vec<T>
impl<T: PartialEq + BorshSerialize + BorshDeserialize> PartialEq for LEB128Vec<T>
impl<T: Eq + BorshSerialize + BorshDeserialize> Eq for LEB128Vec<T>
impl<T: BorshSerialize + BorshDeserialize> StructuralPartialEq for LEB128Vec<T>
Auto Trait Implementations§
impl<T> Freeze for LEB128Vec<T>
impl<T> RefUnwindSafe for LEB128Vec<T>where
T: RefUnwindSafe,
impl<T> Send for LEB128Vec<T>where
T: Send,
impl<T> Sync for LEB128Vec<T>where
T: Sync,
impl<T> Unpin for LEB128Vec<T>where
T: Unpin,
impl<T> UnwindSafe for LEB128Vec<T>where
T: UnwindSafe,
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