[−][src]Struct zenoh_protocol::session::Session
Session
is the session handler returned when opening a new session
Implementations
impl Session
[src]
pub fn get_pid(&self) -> ZResult<PeerId>
[src]
pub fn get_whatami(&self) -> ZResult<WhatAmI>
[src]
pub fn get_lease(&self) -> ZResult<ZInt>
[src]
pub fn get_sn_resolution(&self) -> ZResult<ZInt>
[src]
pub async fn close<'_>(&'_ self) -> ZResult<()>
[src]
pub async fn close_link<'_, '_>(&'_ self, link: &'_ Link) -> ZResult<()>
[src]
pub async fn get_links<'_>(&'_ self) -> ZResult<Vec<Link>>
[src]
pub async fn schedule<'_>(&'_ self, message: ZenohMessage) -> ZResult<()>
[src]
Trait Implementations
impl Clone for Session
[src]
impl Debug for Session
[src]
impl Eq for Session
[src]
impl PartialEq<Session> for Session
[src]
impl SessionEventHandler for Session
[src]
fn handle_message<'life0, 'async_trait>(
&'life0 self,
message: ZenohMessage
) -> Pin<Box<dyn Future<Output = ZResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
message: ZenohMessage
) -> Pin<Box<dyn Future<Output = ZResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn new_link<'life0, 'async_trait>(
&'life0 self,
_link: Link
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
_link: Link
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn del_link<'life0, 'async_trait>(
&'life0 self,
_link: Link
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
_link: Link
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn close<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl !RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl !UnwindSafe for Session
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>,