Struct tor_linkspec::RelayIdsBuilder
source · pub struct RelayIdsBuilder { /* private fields */ }
Expand description
Builder for RelayIds
.
Implementations§
source§impl RelayIdsBuilder
impl RelayIdsBuilder
sourcepub fn ed_identity(&mut self, value: Ed25519Identity) -> &mut Self
pub fn ed_identity(&mut self, value: Ed25519Identity) -> &mut Self
Copy of the ed25519 id from the underlying ChanTarget.
sourcepub fn rsa_identity(&mut self, value: RsaIdentity) -> &mut Self
pub fn rsa_identity(&mut self, value: RsaIdentity) -> &mut Self
Copy of the rsa id from the underlying ChanTarget.
Trait Implementations§
source§impl Clone for RelayIdsBuilder
impl Clone for RelayIdsBuilder
source§fn clone(&self) -> RelayIdsBuilder
fn clone(&self) -> RelayIdsBuilder
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 RelayIdsBuilder
impl Debug for RelayIdsBuilder
Auto Trait Implementations§
impl Freeze for RelayIdsBuilder
impl RefUnwindSafe for RelayIdsBuilder
impl Send for RelayIdsBuilder
impl Sync for RelayIdsBuilder
impl Unpin for RelayIdsBuilder
impl UnwindSafe for RelayIdsBuilder
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