[−][src]Struct zenoh_protocol::proto::SessionMessage
Implementations
impl SessionMessage
[src]
pub fn make_scout(
what: Option<WhatAmI>,
pid_request: bool,
attachment: Option<Attachment>
) -> SessionMessage
[src]
what: Option<WhatAmI>,
pid_request: bool,
attachment: Option<Attachment>
) -> SessionMessage
pub fn make_hello(
pid: Option<PeerId>,
whatami: Option<WhatAmI>,
locators: Option<Vec<Locator>>,
attachment: Option<Attachment>
) -> SessionMessage
[src]
pid: Option<PeerId>,
whatami: Option<WhatAmI>,
locators: Option<Vec<Locator>>,
attachment: Option<Attachment>
) -> SessionMessage
pub fn make_open(
version: u8,
whatami: WhatAmI,
pid: PeerId,
lease: ZInt,
initial_sn: ZInt,
sn_resolution: Option<ZInt>,
locators: Option<Vec<Locator>>,
attachment: Option<Attachment>
) -> SessionMessage
[src]
version: u8,
whatami: WhatAmI,
pid: PeerId,
lease: ZInt,
initial_sn: ZInt,
sn_resolution: Option<ZInt>,
locators: Option<Vec<Locator>>,
attachment: Option<Attachment>
) -> SessionMessage
pub fn make_accept(
whatami: WhatAmI,
opid: PeerId,
apid: PeerId,
initial_sn: ZInt,
sn_resolution: Option<ZInt>,
lease: Option<ZInt>,
locators: Option<Vec<Locator>>,
attachment: Option<Attachment>
) -> SessionMessage
[src]
whatami: WhatAmI,
opid: PeerId,
apid: PeerId,
initial_sn: ZInt,
sn_resolution: Option<ZInt>,
lease: Option<ZInt>,
locators: Option<Vec<Locator>>,
attachment: Option<Attachment>
) -> SessionMessage
pub fn make_close(
pid: Option<PeerId>,
reason: u8,
link_only: bool,
attachment: Option<Attachment>
) -> SessionMessage
[src]
pid: Option<PeerId>,
reason: u8,
link_only: bool,
attachment: Option<Attachment>
) -> SessionMessage
pub fn make_sync(
ch: Channel,
sn: ZInt,
count: Option<ZInt>,
attachment: Option<Attachment>
) -> SessionMessage
[src]
ch: Channel,
sn: ZInt,
count: Option<ZInt>,
attachment: Option<Attachment>
) -> SessionMessage
pub fn make_ack_nack(
sn: ZInt,
mask: Option<ZInt>,
attachment: Option<Attachment>
) -> SessionMessage
[src]
sn: ZInt,
mask: Option<ZInt>,
attachment: Option<Attachment>
) -> SessionMessage
pub fn make_keep_alive(
pid: Option<PeerId>,
attachment: Option<Attachment>
) -> SessionMessage
[src]
pid: Option<PeerId>,
attachment: Option<Attachment>
) -> SessionMessage
pub fn make_ping(hash: ZInt, attachment: Option<Attachment>) -> SessionMessage
[src]
pub fn make_pong(hash: ZInt, attachment: Option<Attachment>) -> SessionMessage
[src]
pub fn make_frame(
ch: Channel,
sn: ZInt,
payload: FramePayload,
attachment: Option<Attachment>
) -> SessionMessage
[src]
ch: Channel,
sn: ZInt,
payload: FramePayload,
attachment: Option<Attachment>
) -> SessionMessage
pub fn make_frame_header(ch: Channel, is_fragment: Option<bool>) -> u8
[src]
pub fn get_body(&self) -> &SessionBody
[src]
pub fn get_attachment(&self) -> &Option<Attachment>
[src]
pub fn get_attachment_mut(&mut self) -> &mut Option<Attachment>
[src]
Trait Implementations
impl Clone for SessionMessage
[src]
fn clone(&self) -> SessionMessage
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SessionMessage
[src]
impl PartialEq<SessionMessage> for SessionMessage
[src]
fn eq(&self, other: &SessionMessage) -> bool
[src]
fn ne(&self, other: &SessionMessage) -> bool
[src]
impl StructuralPartialEq for SessionMessage
[src]
Auto Trait Implementations
impl RefUnwindSafe for SessionMessage
impl Send for SessionMessage
impl Sync for SessionMessage
impl Unpin for SessionMessage
impl UnwindSafe for SessionMessage
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,