pub struct RnsPathTable { /* private fields */ }Implementations§
Source§impl RnsPathTable
impl RnsPathTable
pub fn new(entries: Vec<RouteSnapshot>) -> RnsPathTable
pub fn from_entries(entries: Vec<RnsPathTableEntry>) -> RnsPathTable
pub fn entries(&self) -> &[RnsPathTableEntry]
pub fn into_entries(self) -> Vec<RnsPathTableEntry>
pub fn decode_message_pack( bytes: &[u8], ) -> Result<RnsPathTable, RnsPathTableDecodeError>
pub fn encode_message_pack(&self) -> Result<Vec<u8>, RnsManagementEncodeError>
Trait Implementations§
Source§impl Clone for RnsPathTable
impl Clone for RnsPathTable
Source§fn clone(&self) -> RnsPathTable
fn clone(&self) -> RnsPathTable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RnsPathTable
impl Debug for RnsPathTable
Source§impl PartialEq for RnsPathTable
impl PartialEq for RnsPathTable
impl StructuralPartialEq for RnsPathTable
Auto Trait Implementations§
impl Freeze for RnsPathTable
impl RefUnwindSafe for RnsPathTable
impl Send for RnsPathTable
impl Sync for RnsPathTable
impl Unpin for RnsPathTable
impl UnsafeUnpin for RnsPathTable
impl UnwindSafe for RnsPathTable
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