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
)