pub struct ClientManager { /* private fields */ }
Implementations
sourceimpl ClientManager
impl ClientManager
pub fn create(stack: Weak<StackImpl>) -> ClientManager
pub fn reset(&self)
pub fn sn_list(&self) -> Vec<DeviceId>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn status_of(&self, sn: &DeviceId) -> Option<SnStatus>
pub fn start_ping(&self)
pub fn stop_ping(&self) -> Result<(), BuckyError>
pub fn add_sn_ping(
&self,
desc: &Device,
is_encrypto: bool,
appraiser: Option<Box<dyn ServiceAppraiser>>
)
pub fn remove_sn_ping(&self, sn_peerid: &DeviceId) -> Result<(), BuckyError>
pub fn call(
&self,
reverse_endpoints: &[Endpoint],
remote_peerid: &DeviceId,
sn: &Device,
is_always_call: bool,
is_encrypto: bool,
with_local: bool,
payload_generater: impl Fn(&SnCall) -> Vec<u8>
) -> impl Future<Output = Result<Device, BuckyError>>
pub fn resend_ping(&self)
Auto Trait Implementations
impl !RefUnwindSafe for ClientManager
impl Send for ClientManager
impl Sync for ClientManager
impl Unpin for ClientManager
impl !UnwindSafe for ClientManager
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more