Be aware: Foundation will NEVER ask for your seed words, device PIN, or call you unexpectedly. If anyone does, it's a scam.

Struct

Subscribe

pub struct Subscribe;

Trait Implementations

impl Archive for Subscribe

const COPY_OPTIMIZATION: CopyOptimization<Self>

An optimization flag that allows the bytes of this type to be copied directly to a writer instead of calling serialize. Read more

type Archived = ArchivedSubscribe

The archived representation of this type. Read more

type Resolver = SubscribeResolver

The resolver for this type. It must contain all the additional information from serializing needed to make the archived type from the normal type.

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and writes it to the given output. Read more

impl Debug for Subscribe

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

impl<__D: Fallible + ?Sized> Deserialize<Subscribe, __D> for Archived<Subscribe>

fn deserialize( &self, deserializer: &mut __D, ) -> Result<Subscribe, <__D as Fallible>::Error>

Deserializes using the given deserializer

impl MessageId for Subscribe

const ID: MessageId = 1usize

unique message identifier

const SERVER: &'static str = "os/camera"

target server name

impl ScalarSubscription for Subscribe

type Event = Frame

type Error = SubscriptionError

impl<__S: Fallible + ?Sized> Serialize<__S> for Subscribe

fn serialize( &self, serializer: &mut __S, ) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can create the archived type.

Auto Trait Implementations

impl Freeze for Subscribe

impl RefUnwindSafe for Subscribe

impl Send for Subscribe

impl Sync for Subscribe

impl Unpin for Subscribe

impl UnsafeUnpin for Subscribe

impl UnwindSafe for Subscribe