pub enum DeclaredHolder {
Open(String),
}Expand description
What an open-access connection declared at Connect.
Variants§
Implementations§
Source§impl DeclaredHolder
impl DeclaredHolder
Sourcepub fn from_record(record: &[u8]) -> Self
pub fn from_record(record: &[u8]) -> Self
Reads the record an open exchange admitted: open:<name> with a name
of 1 to 64 of a-z, 0-9, ., _ or -; anything else is
anonymous.
Trait Implementations§
Source§impl Clone for DeclaredHolder
impl Clone for DeclaredHolder
Source§impl Debug for DeclaredHolder
impl Debug for DeclaredHolder
impl Eq for DeclaredHolder
Source§impl PartialEq for DeclaredHolder
impl PartialEq for DeclaredHolder
impl StructuralPartialEq for DeclaredHolder
Auto Trait Implementations§
impl Freeze for DeclaredHolder
impl RefUnwindSafe for DeclaredHolder
impl Send for DeclaredHolder
impl Sync for DeclaredHolder
impl Unpin for DeclaredHolder
impl UnsafeUnpin for DeclaredHolder
impl UnwindSafe for DeclaredHolder
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.