pub struct ByteConPublicKey { /* private fields */ }Implementations§
Source§impl ByteConPublicKey
impl ByteConPublicKey
pub fn new(certificate: ByteConCertificate) -> Self
pub fn get_certificates(&self) -> Result<Vec<Certificate>, Box<dyn Error>>
Trait Implementations§
Source§impl ByteConverter for ByteConPublicKey
impl ByteConverter for ByteConPublicKey
fn append_to_bytes(&self, bytes: &mut Vec<u8>) -> Result<(), Box<dyn Error>>
fn extract_from_bytes(
bytes: &Vec<u8>,
index: &mut usize,
) -> Result<Self, Box<dyn Error>>where
Self: Sized,
fn to_vec_bytes(&self) -> Result<Vec<u8>, Box<dyn Error>>
fn clone_via_bytes(&self) -> Result<Self, Box<dyn Error>>where
Self: Sized,
Auto Trait Implementations§
impl Freeze for ByteConPublicKey
impl RefUnwindSafe for ByteConPublicKey
impl Send for ByteConPublicKey
impl Sync for ByteConPublicKey
impl Unpin for ByteConPublicKey
impl UnwindSafe for ByteConPublicKey
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