File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -2587,15 +2587,10 @@ impl<'a> Socket<'a> {
25872587/// 1. The new buffer must be larger than the length of remaining data in the current buffer 
25882588/// 2. The new buffer must be multiple of (1 << self.remote_win_shift) 
25892589/// 
2590- /// Note: self.remote_win_shift cannot be modified after the connection is established. Use 
2591- /// `new_with_window_scaling` to create a new socket with a pre-defined window scale. Details can 
2592- /// be found in [RFC 1323]. 
2593- /// 
25942590/// If the new buffer does not meet the requirements, the new buffer is returned as an error; 
25952591/// otherwise, the old buffer is returned as an Ok value. 
25962592/// 
2597- /// See also the [new_with_window_scaling](struct.Socket.html#method.new_with_window_scaling) and 
2598- /// [local_recv_win_scale](struct.Socket.html#method.local_recv_win_scale) methods. 
2593+ /// See also the [local_recv_win_scale](struct.Socket.html#method.local_recv_win_scale) methods. 
25992594pub  fn  replace_recv_buffer < T :  Into < SocketBuffer < ' a > > > ( 
26002595        & mut  self , 
26012596        new_buffer :  T , 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments