#[repr(C)]pub struct RouterDescriptor {
pub pipe_name: [u8; 32],
pub transport_type: u8,
pub _pad: [u8; 31],
}Fields§
§pipe_name: [u8; 32]§transport_type: u8§_pad: [u8; 31]Implementations§
Source§impl RouterDescriptor
impl RouterDescriptor
pub fn from_bytes(bytes: &[u8]) -> Option<Self>
Trait Implementations§
Source§impl Clone for RouterDescriptor
impl Clone for RouterDescriptor
Source§fn clone(&self) -> RouterDescriptor
fn clone(&self) -> RouterDescriptor
Returns a duplicate 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 RouterDescriptor
impl Debug for RouterDescriptor
impl Copy for RouterDescriptor
Auto Trait Implementations§
impl Freeze for RouterDescriptor
impl RefUnwindSafe for RouterDescriptor
impl Send for RouterDescriptor
impl Sync for RouterDescriptor
impl Unpin for RouterDescriptor
impl UnsafeUnpin for RouterDescriptor
impl UnwindSafe for RouterDescriptor
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