Struct zenoh_protocol::core::endpoint::EndPoint
source · pub struct EndPoint { /* private fields */ }Expand description
Implementations§
source§impl EndPoint
impl EndPoint
pub fn new<A, B, C, D>( protocol: A, address: B, metadata: C, config: D ) -> ZResult<Self>
pub fn as_str(&self) -> &str
pub fn split(&self) -> (Protocol<'_>, Address<'_>, Metadata<'_>, Config<'_>)
pub fn protocol(&self) -> Protocol<'_>
pub fn protocol_mut(&mut self) -> ProtocolMut<'_>
pub fn address(&self) -> Address<'_>
pub fn address_mut(&mut self) -> AddressMut<'_>
pub fn metadata(&self) -> Metadata<'_>
pub fn metadata_mut(&mut self) -> MetadataMut<'_>
pub fn config(&self) -> Config<'_>
pub fn config_mut(&mut self) -> ConfigMut<'_>
pub fn to_locator(&self) -> Locator
Trait Implementations§
source§impl<'de> Deserialize<'de> for EndPoint
impl<'de> Deserialize<'de> for EndPoint
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for EndPoint
impl PartialEq for EndPoint
impl Eq for EndPoint
impl StructuralPartialEq for EndPoint
Auto Trait Implementations§
impl Freeze for EndPoint
impl RefUnwindSafe for EndPoint
impl Send for EndPoint
impl Sync for EndPoint
impl Unpin for EndPoint
impl UnwindSafe for EndPoint
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more