Struct ecksport_core::frame::GoodbyeData
source · pub struct GoodbyeData { /* private fields */ }Expand description
Sent before closing a connection.
Implementations§
Trait Implementations§
source§impl BorshDeserialize for GoodbyeData
impl BorshDeserialize for GoodbyeData
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 BorshSerialize for GoodbyeData
impl BorshSerialize for GoodbyeData
source§impl Clone for GoodbyeData
impl Clone for GoodbyeData
source§fn clone(&self) -> GoodbyeData
fn clone(&self) -> GoodbyeData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GoodbyeData
impl RefUnwindSafe for GoodbyeData
impl Send for GoodbyeData
impl Sync for GoodbyeData
impl Unpin for GoodbyeData
impl UnwindSafe for GoodbyeData
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)