[][src]Struct tensorflow_proto::tensorflow::RecvBufRequest

pub struct RecvBufRequest {
    pub step_id: i64,
    pub buf_rendezvous_key: String,
    pub num_bytes: i64,
    pub buf_ptr: u64,
    pub client_locality: Option<DeviceLocality>,
    pub server_locality: Option<DeviceLocality>,
    pub transport_options: Option<Any>,
    pub src_device: String,
    pub dst_device: String,
    pub request_id: i64,
    pub src_incarnation: u64,
}

Use of the fields below may vary by implementation. For example the buf_ptr and num_bytes may be set only for local operations and not sent on the wire, or only sent on the wire in one direction.

Fields

step_id: i64

Used at server side to find the correct BufRendezvous.

buf_rendezvous_key: String

Arbitrary string identifying a BufRendezvous entry.

num_bytes: i64

Size of value expected, must agree with BufRendezvous entry.

buf_ptr: u64

When RDMA is in use, address of destination field on client.

client_locality: Option<DeviceLocality>

Optional information on client-side device locality.

server_locality: Option<DeviceLocality>

Optional information on server-side device locality.

transport_options: Option<Any>

Optional, implementation-specific data.

src_device: String

For annotating timeline and device incarnation check.

dst_device: String

Optional, for annotating the timeline.

request_id: i64

Depending on the RPC system in use, it may be necessary to set this id to detect resends of RPCs where the server is not aware that the prior RPC failed.

src_incarnation: u64

Incarnation number of the source device, used to detect worker failures.

Trait Implementations

impl Clone for RecvBufRequest[src]

impl Debug for RecvBufRequest[src]

impl Default for RecvBufRequest[src]

impl Message for RecvBufRequest[src]

impl PartialEq<RecvBufRequest> for RecvBufRequest[src]

impl StructuralPartialEq for RecvBufRequest[src]

Auto Trait Implementations

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> 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.