pub enum Topic {
Create(Configuration),
Delete(Configuration),
}Variants§
Implementations§
Source§impl Topic
impl Topic
pub fn create() -> Builder<PhantomData<Url>, PhantomData<String>, PhantomData<i32>>
pub fn delete() -> Builder<PhantomData<Url>, PhantomData<String>>
pub async fn main(self) -> Result<ErrorCode>
Trait Implementations§
impl Eq for Topic
impl StructuralPartialEq for Topic
Auto Trait Implementations§
impl Freeze for Topic
impl RefUnwindSafe for Topic
impl Send for Topic
impl Sync for Topic
impl Unpin for Topic
impl UnwindSafe for Topic
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