Struct distant_net::manager::ManagerChannel
source · pub struct ManagerChannel { /* private fields */ }Implementations§
source§impl ManagerChannel
impl ManagerChannel
sourcepub fn id(&self) -> ManagerChannelId
pub fn id(&self) -> ManagerChannelId
Returns the id associated with the channel.
sourcepub fn send(&self, req: UntypedRequest<'static>) -> Result<()>
pub fn send(&self, req: UntypedRequest<'static>) -> Result<()>
Sends the untyped request to the server on the other side of the channel.
Trait Implementations§
source§impl Clone for ManagerChannel
impl Clone for ManagerChannel
source§fn clone(&self) -> ManagerChannel
fn clone(&self) -> ManagerChannel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ManagerChannel
impl Send for ManagerChannel
impl Sync for ManagerChannel
impl Unpin for ManagerChannel
impl !UnwindSafe for ManagerChannel
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