pub struct SendLastState(/* private fields */);
Implementations§
Source§impl SendLastState
impl SendLastState
pub const FIELD_COUNT: usize = 1usize
pub fn total_size(&self) -> usize
pub fn field_count(&self) -> usize
pub fn count_extra_fields(&self) -> usize
pub fn has_extra_fields(&self) -> bool
pub fn last_header(&self) -> VerifiableHeader
pub fn as_reader<'r>(&'r self) -> SendLastStateReader<'r>
Trait Implementations§
Source§impl Clone for SendLastState
impl Clone for SendLastState
Source§fn clone(&self) -> SendLastState
fn clone(&self) -> SendLastState
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 moreSource§impl Debug for SendLastState
impl Debug for SendLastState
Source§impl Default for SendLastState
impl Default for SendLastState
Source§fn default() -> SendLastState
fn default() -> SendLastState
Returns the “default value” for a type. Read more
Source§impl Display for SendLastState
impl Display for SendLastState
Source§impl Entity for SendLastState
impl Entity for SendLastState
const NAME: &'static str = "SendLastState"
type Builder = SendLastStateBuilder
fn new_unchecked(data: Bytes) -> SendLastState
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> Result<SendLastState, VerificationError>
fn from_compatible_slice( slice: &[u8], ) -> Result<SendLastState, VerificationError>
fn new_builder() -> <SendLastState as Entity>::Builder
fn as_builder(self) -> <SendLastState as Entity>::Builder
Source§impl From<SendLastState> for LightClientMessageUnion
impl From<SendLastState> for LightClientMessageUnion
Source§fn from(item: SendLastState) -> LightClientMessageUnion
fn from(item: SendLastState) -> LightClientMessageUnion
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for SendLastState
impl RefUnwindSafe for SendLastState
impl Send for SendLastState
impl Sync for SendLastState
impl Unpin for SendLastState
impl UnwindSafe for SendLastState
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)