pub struct RemoveProposal { /* private fields */ }
Expand description
Remove Proposal.
A Remove proposal requests that the member with the leaf index removed be removed from the group.
// draft-ietf-mls-protocol-17
struct {
uint32 removed;
} Remove;
Implementations§
Source§impl RemoveProposal
impl RemoveProposal
Sourcepub fn removed(&self) -> LeafNodeIndex
pub fn removed(&self) -> LeafNodeIndex
Returns the leaf index of the removed leaf in this proposal.
Trait Implementations§
Source§impl Clone for RemoveProposal
impl Clone for RemoveProposal
Source§fn clone(&self) -> RemoveProposal
fn clone(&self) -> RemoveProposal
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 RemoveProposal
impl Debug for RemoveProposal
Source§impl<'de> Deserialize<'de> for RemoveProposal
impl<'de> Deserialize<'de> for RemoveProposal
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Deserialize for RemoveProposal
impl Deserialize for RemoveProposal
Source§fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
This function deserializes the
bytes
from the provided a std::io::Read
and returns the populated struct. Read moreSource§impl DeserializeBytes for RemoveProposal
impl DeserializeBytes for RemoveProposal
Source§impl PartialEq for RemoveProposal
impl PartialEq for RemoveProposal
Source§impl Serialize for &RemoveProposal
impl Serialize for &RemoveProposal
Source§impl Serialize for RemoveProposal
impl Serialize for RemoveProposal
Source§impl Serialize for RemoveProposal
impl Serialize for RemoveProposal
Source§impl Size for &RemoveProposal
impl Size for &RemoveProposal
fn tls_serialized_len(&self) -> usize
Source§impl Size for RemoveProposal
impl Size for RemoveProposal
fn tls_serialized_len(&self) -> usize
impl Eq for RemoveProposal
impl StructuralPartialEq for RemoveProposal
Auto Trait Implementations§
impl Freeze for RemoveProposal
impl RefUnwindSafe for RemoveProposal
impl Send for RemoveProposal
impl Sync for RemoveProposal
impl Unpin for RemoveProposal
impl UnwindSafe for RemoveProposal
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more