pub type DirectedWave = DirectedWaveDef<Recipients>;Aliased Type§
enum DirectedWave {
Ping(WaveVariantDef<PingCore>),
Ripple(WaveVariantDef<RippleCoreDef<Recipients>>),
Signal(WaveVariantDef<SignalCore>),
}Variants§
Ping(WaveVariantDef<PingCore>)
Ripple(WaveVariantDef<RippleCoreDef<Recipients>>)
Signal(WaveVariantDef<SignalCore>)
Implementations§
Source§impl DirectedWave
impl DirectedWave
pub fn to(&self) -> Recipients
pub fn hops(&self) -> u16
pub fn is_signal(&self) -> bool
pub fn reflection(&self) -> Result<Reflection, SpaceErr>
pub fn to_signal(self) -> Result<WaveVariantDef<SignalCore>, SpaceErr>
pub fn to_call(&self, to: Surface) -> Result<Call, SpaceErr>
Source§impl DirectedWave
impl DirectedWave
pub fn reflected_proto(&self) -> BounceProto
Trait Implementations§
Source§impl Into<DirectedProto> for DirectedWave
impl Into<DirectedProto> for DirectedWave
Source§fn into(self) -> DirectedProto
fn into(self) -> DirectedProto
Converts this type into the (usually inferred) input type.