pub struct Steam { /* private fields */ }Implementations§
Trait Implementations§
Source§impl SteamApi for Steam
impl SteamApi for Steam
fn run_callbacks(&mut self) -> Vec<Event>
fn shutdown(&mut self)
fn unlock(&mut self, name: &str) -> Result<(), Error>
fn achieved(&self, name: &str) -> Result<bool, Error>
fn store(&mut self) -> Result<(), Error>
fn clear(&mut self, name: &str) -> Result<(), Error>
fn stat_i32(&self, name: &str) -> Result<i32, Error>
fn set_stat_i32(&mut self, name: &str, value: i32) -> Result<(), Error>
fn stat_f32(&self, name: &str) -> Result<f32, Error>
fn set_stat_f32(&mut self, name: &str, value: f32) -> Result<(), Error>
fn write(&mut self, name: &str, bytes: &[u8]) -> Result<(), Error>
fn read(&self, name: &str) -> Result<Vec<u8>, Error>
fn exists(&self, name: &str) -> Result<bool, Error>
fn delete(&mut self, name: &str) -> Result<(), Error>
fn quota(&self) -> Result<Quota, Error>
fn set_presence(&mut self, key: &str, value: &str) -> Result<(), Error>
fn clear_presence(&mut self, key: &str) -> Result<(), Error>
fn me(&self) -> Result<User, Error>
fn server_time(&self) -> Result<Option<u64>, Error>
fn find_board(&mut self, name: &str) -> Result<Call, Error>
fn find_or_create_board( &mut self, name: &str, sort: Sort, display: Display, ) -> Result<Call, Error>
fn upload_score( &mut self, board: Board, score: i32, details: &[i32], upload: Upload, ) -> Result<Call, Error>
fn download_scores( &mut self, board: Board, range: Range, details: usize, ) -> Result<Call, Error>
fn attach_ugc(&mut self, board: Board, ugc: Ugc) -> Result<(), Error>
fn download_ugc(&mut self, ugc: Ugc) -> Result<Call, Error>
fn create_lobby( &mut self, kind: LobbyKind, max_members: u32, ) -> Result<Call, Error>
fn find_lobbies(&mut self, filter: &LobbyFilter) -> Result<Call, Error>
fn join_lobby(&mut self, lobby: Lobby) -> Result<Call, Error>
fn leave_lobby(&mut self, lobby: Lobby) -> Result<(), Error>
fn lobby_members(&self, lobby: Lobby) -> Result<Vec<User>, Error>
fn lobby_owner(&self, lobby: Lobby) -> Result<User, Error>
fn set_lobby_data( &mut self, lobby: Lobby, key: &str, value: &str, ) -> Result<(), Error>
fn lobby_data(&self, lobby: Lobby, key: &str) -> Result<Option<String>, Error>
fn invite_dialog(&mut self, lobby: Lobby) -> Result<(), Error>
fn launched(&mut self, args: &[String]) -> Option<Lobby>
fn send_message( &mut self, peer: User, channel: u32, bytes: &[u8], delivery: Delivery, ) -> Result<(), Error>
fn receive_messages( &mut self, channel: u32, max: usize, ) -> Result<Vec<Message>, Error>
fn accept_session(&mut self, peer: User) -> Result<(), Error>
fn sync(&mut self, achieved: &[&str]) -> Result<(), Error>
fn upload_run( &mut self, board: Board, score: i32, details: &[i32], upload: Upload, run: Ugc, ) -> Result<Call, Error>
Auto Trait Implementations§
impl Freeze for Steam
impl RefUnwindSafe for Steam
impl Send for Steam
impl Sync for Steam
impl Unpin for Steam
impl UnsafeUnpin for Steam
impl UnwindSafe for Steam
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