pub struct AfcId { /* private fields */ }Expand description
AfcId is a BidiChannelId or UniChannelId
truncated from 512 bits down to 128 bits.
It uniquely identifies an Aranya fast channel.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AfcId
impl<'de> Deserialize<'de> for AfcId
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 From<BidiChannelId> for AfcId
Convert from BidiChannelId to AfcId
impl From<BidiChannelId> for AfcId
Convert from BidiChannelId to AfcId
Source§fn from(value: BidiChannelId) -> Self
fn from(value: BidiChannelId) -> Self
Converts to this type from the input type.
Source§impl From<UniChannelId> for AfcId
Convert from UniChannelId to AfcId
impl From<UniChannelId> for AfcId
Convert from UniChannelId to AfcId
Source§fn from(value: UniChannelId) -> Self
fn from(value: UniChannelId) -> Self
Converts to this type from the input type.
Source§impl Ord for AfcId
impl Ord for AfcId
Source§impl PartialOrd for AfcId
impl PartialOrd for AfcId
impl Copy for AfcId
impl Eq for AfcId
impl StructuralPartialEq for AfcId
Auto Trait Implementations§
impl Freeze for AfcId
impl RefUnwindSafe for AfcId
impl Send for AfcId
impl Sync for AfcId
impl Unpin for AfcId
impl UnwindSafe for AfcId
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