pub enum BindFace {
Loopback {
key: B3Hash,
},
Exposed {
key: B3Hash,
},
}Expand description
Which face the listener presents, and the key it demands.
The key travels inside both faces rather than beside them. A
listener that demands nothing is not a state this type can hold,
loopback included: the loopback port is reachable by every page in a
browser on this machine, by every other account on it and by the
residents’ own tools (crates/wire/spec/Reception/Entry.lean wire
D54). decide_bind is the only producer of one.
Variants§
Implementations§
Trait Implementations§
impl Copy for BindFace
impl Eq for BindFace
impl StructuralPartialEq for BindFace
Auto Trait Implementations§
impl Freeze for BindFace
impl RefUnwindSafe for BindFace
impl Send for BindFace
impl Sync for BindFace
impl Unpin for BindFace
impl UnsafeUnpin for BindFace
impl UnwindSafe for BindFace
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