pub struct FirebaseStorageImpl { /* private fields */ }Implementations§
Source§impl FirebaseStorageImpl
impl FirebaseStorageImpl
pub fn new( app: FirebaseApp, auth_provider: Provider, app_check_provider: Provider, url_override: Option<String>, firebase_version: Option<String>, ) -> StorageResult<Self>
pub fn app(&self) -> &FirebaseApp
pub fn host(&self) -> String
pub fn protocol(&self) -> String
pub fn auth_provider(&self) -> Provider
pub fn app_check_provider(&self) -> Provider
pub fn firebase_version(&self) -> Option<&str>
pub fn bucket(&self) -> Option<Location>
pub fn max_upload_retry_time(&self) -> u64
pub fn max_operation_retry_time(&self) -> u64
pub fn set_max_upload_retry_time(&self, millis: u64)
pub fn set_max_operation_retry_time(&self, millis: u64)
pub fn is_using_emulator(&self) -> bool
pub fn connect_emulator( &self, host: &str, port: u16, mock_user_token: Option<String>, ) -> StorageResult<()>
pub fn set_host(&self, host: &str) -> StorageResult<()>
pub fn make_storage_reference(&self, location: Location) -> StorageReference
pub fn root_reference(&self) -> StorageResult<StorageReference>
pub fn reference_from_path( &self, path: Option<&str>, ) -> StorageResult<StorageReference>
pub fn http_client(&self) -> StorageResult<HttpClient>
pub fn upload_http_client(&self) -> StorageResult<HttpClient>
pub fn run_request<O>(&self, info: RequestInfo<O>) -> StorageResult<O>
pub fn run_upload_request<O>(&self, info: RequestInfo<O>) -> StorageResult<O>
Trait Implementations§
Source§impl Clone for FirebaseStorageImpl
impl Clone for FirebaseStorageImpl
Source§fn clone(&self) -> FirebaseStorageImpl
fn clone(&self) -> FirebaseStorageImpl
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 FirebaseStorageImpl
impl RefUnwindSafe for FirebaseStorageImpl
impl Send for FirebaseStorageImpl
impl Sync for FirebaseStorageImpl
impl Unpin for FirebaseStorageImpl
impl UnwindSafe for FirebaseStorageImpl
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