pub enum LinkId {
Identity {
lookup_id: u32,
link_sid: PrivateIdentityInterface,
remote_link_pid: PublicIdentityInterface,
reply_to: ReplyTo,
},
Choke,
}Variants§
Implementations§
Source§impl LinkId
impl LinkId
pub fn new( lookup_id: u32, link_sid: PrivateIdentityInterface, remote_link_pid: PublicIdentityInterface, reply_to: ReplyTo, ) -> Self
pub fn link_with_type( link_sid: PrivateIdentityInterface, remote_link_pid: PublicIdentityInterface, reply_to: ReplyTo, ) -> Self
pub fn lookup_id(&self) -> Result<u32>
pub fn choke() -> Self
pub fn remote(&self, reply_to: ReplyTo) -> Result<Self>
pub fn reply_to(&self) -> Result<ReplyTo>
pub fn link_sid(&self) -> Result<PrivateIdentityInterface>
pub fn link_pid(&self) -> Result<PublicIdentity>
pub fn remote_link_pid(&self) -> Result<PublicIdentityInterface>
Trait Implementations§
impl Eq for LinkId
impl StructuralPartialEq for LinkId
Auto Trait Implementations§
impl Freeze for LinkId
impl RefUnwindSafe for LinkId
impl Send for LinkId
impl Sync for LinkId
impl Unpin for LinkId
impl UnwindSafe for LinkId
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