pub struct JamsocketApi { /* private fields */ }
Implementations§
Source§impl JamsocketApi
impl JamsocketApi
pub fn new(token: &str) -> Self
pub fn authenticate(&self) -> Result<Option<AuthcheckResponse>>
pub fn upload( &self, service_id: &str, module: &[u8], ) -> Result<UploadServiceResponse>
pub fn new_service(&self) -> Result<String>
Auto Trait Implementations§
impl Freeze for JamsocketApi
impl RefUnwindSafe for JamsocketApi
impl Send for JamsocketApi
impl Sync for JamsocketApi
impl Unpin for JamsocketApi
impl UnwindSafe for JamsocketApi
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