pub struct EndpointAddress(/* private fields */);
Expand description
Type-safe endpoint address.
Implementations§
source§impl EndpointAddress
impl EndpointAddress
sourcepub fn from_parts(index: usize, dir: Direction) -> Self
pub fn from_parts(index: usize, dir: Direction) -> Self
Constructs a new EndpointAddress with the given index and direction.
Trait Implementations§
source§impl Clone for EndpointAddress
impl Clone for EndpointAddress
source§fn clone(&self) -> EndpointAddress
fn clone(&self) -> EndpointAddress
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 EndpointAddress
impl Debug for EndpointAddress
source§impl Format for EndpointAddress
impl Format for EndpointAddress
source§impl From<EndpointAddress> for u8
impl From<EndpointAddress> for u8
source§fn from(addr: EndpointAddress) -> u8
fn from(addr: EndpointAddress) -> u8
Converts to this type from the input type.
source§impl From<u8> for EndpointAddress
impl From<u8> for EndpointAddress
source§fn from(addr: u8) -> EndpointAddress
fn from(addr: u8) -> EndpointAddress
Converts to this type from the input type.
source§impl PartialEq for EndpointAddress
impl PartialEq for EndpointAddress
impl Copy for EndpointAddress
impl Eq for EndpointAddress
impl StructuralPartialEq for EndpointAddress
Auto Trait Implementations§
impl Freeze for EndpointAddress
impl RefUnwindSafe for EndpointAddress
impl Send for EndpointAddress
impl Sync for EndpointAddress
impl Unpin for EndpointAddress
impl UnwindSafe for EndpointAddress
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
)