pub struct ChannelHandle {
pub id: ChannelId,
/* private fields */
}Expand description
Handle for injecting events into a ChannelRunner.
Fields§
§id: ChannelIdChannel ID.
Implementations§
Source§impl ChannelHandle
impl ChannelHandle
Sourcepub fn accepts_requests(&self) -> bool
pub fn accepts_requests(&self) -> bool
Returns true if this handle accepts RPC requests.
Trait Implementations§
Source§impl Clone for ChannelHandle
impl Clone for ChannelHandle
Source§fn clone(&self) -> ChannelHandle
fn clone(&self) -> ChannelHandle
Returns a duplicate 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 Freeze for ChannelHandle
impl RefUnwindSafe for ChannelHandle
impl Send for ChannelHandle
impl Sync for ChannelHandle
impl Unpin for ChannelHandle
impl UnsafeUnpin for ChannelHandle
impl UnwindSafe for ChannelHandle
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