Struct dfx_base::session_id::SessionId
source · pub struct SessionId { /* private fields */ }Implementations§
source§impl SessionId
impl SessionId
pub fn new<A, B, C, D, E, F, G>( begin_string: A, sender_comp_id: B, sender_sub_id: C, sender_location_id: D, target_comp_id: E, target_sub_id: F, target_location_id: G ) -> Selfwhere A: Into<String>, B: Into<String>, C: Into<String>, D: Into<String>, E: Into<String>, F: Into<String>, G: Into<String>,
pub fn is_empty(&self) -> bool
pub fn id(&self) -> &str
pub fn begin_string(&self) -> &str
pub fn sender_comp_id(&self) -> &str
pub fn sender_sub_id(&self) -> &str
pub fn sender_location_id(&self) -> &str
pub fn target_comp_id(&self) -> &str
pub fn target_sub_id(&self) -> &str
pub fn target_location_id(&self) -> &str
pub fn is_fixt(&self) -> bool
pub fn prefix(&self) -> String
Trait Implementations§
source§impl Ord for SessionId
impl Ord for SessionId
source§impl PartialEq<SessionId> for SessionId
impl PartialEq<SessionId> for SessionId
source§impl PartialOrd<SessionId> for SessionId
impl PartialOrd<SessionId> for SessionId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for SessionId
impl StructuralEq for SessionId
impl StructuralPartialEq for SessionId
Auto Trait Implementations§
impl RefUnwindSafe for SessionId
impl Send for SessionId
impl Sync for SessionId
impl Unpin for SessionId
impl UnwindSafe for SessionId
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