pub struct Learned {
pub overlay: Option<Ipv4Addr>,
pub peers: Vec<Peer>,
pub feed_admin: Option<String>,
pub name: Option<String>,
pub feed: Option<Feed>,
pub recharge_from: Option<String>,
}Expand description
The loop’s memory between turns: what the door said.
Fields§
§overlay: Option<Ipv4Addr>§peers: Vec<Peer>The peers the door named (handed to the tunnel driver).
feed_admin: Option<String>§name: Option<String>§feed: Option<Feed>The feed the door answered with (crate::feed; published on the shared bus by
take_learned_feed).
recharge_from: Option<String>The twin this box is recharged from, when the door fed one.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Learned
impl RefUnwindSafe for Learned
impl Send for Learned
impl Sync for Learned
impl Unpin for Learned
impl UnsafeUnpin for Learned
impl UnwindSafe for Learned
Blanket Implementations§
impl<T> Allocation for T
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request