Enum netidx_netproto::publisher::From[][src]

pub enum From {
    NoSuchValue(Path),
    Denied(Path),
    Unsubscribed(Id),
    Subscribed(PathIdValue),
    Update(IdValue),
    Heartbeat,
    WriteResult(IdValue),
}

Variants

NoSuchValue(Path)

The requested subscription to Path cannot be completed because it doesn’t exist

Denied(Path)

Permission to subscribe to the specified path is denied.

Unsubscribed(Id)

You have been unsubscriped from Path. This can be the result of an Unsubscribe message, or it may be sent unsolicited, in the case the value is no longer published, or the publisher is in the process of shutting down.

Subscribed(PathIdValue)

You are now subscribed to Path with subscription id Id, and The next message contains the first value for Id. All further communications about this subscription will only refer to the Id.

Update(IdValue)

A value update to Id

Heartbeat

Indicates that the publisher is idle, but still functioning correctly.

WriteResult(IdValue)

Indicates the result of a write request

Trait Implementations

impl Clone for From[src]

impl Debug for From[src]

impl Pack for From[src]

impl PartialEq<From> for From[src]

impl StructuralPartialEq for From[src]

Auto Trait Implementations

impl RefUnwindSafe for From

impl Send for From

impl Sync for From

impl Unpin for From

impl UnwindSafe for From

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,